1
Tabasco
Changing IP to DNS
  • 2005/1/30 12:37

  • Tabasco

  • Quite a regular

  • Posts: 203

  • Since: 2003/12/26


We are switching hosting providers.

I uploaded XOOPS when we just had an IP address:
http://66.49.225.213/

We then added the domain name:
http://www.red-hour.com/

When you go to any page off the main page, it shows up as the IP address:
http://66.49.225.213/modules/newbb/viewtopic.php?topic_id=3&forum=3&post_id=89#forumpost89

What do I need to do, so all my pages use the domain name, rather than the IP address?

Thanks,

Tabby

2
Jan304
Re: Changing IP to DNS
  • 2005/1/30 12:49

  • Jan304

  • Official Support Member

  • Posts: 520

  • Since: 2002/3/31


Edit mainfile.php, change the value of XOOPS_URL. You also might want to empty the folder 'cache'.

3
Mithrandir
Re: Changing IP to DNS

1. Download the mainfile.php from your webserver via FTP
2. Edit line 39 in it
from
define('XOOPS_URL''http://66.49.225.213/');

to
define('XOOPS_URL''http://www.red-hour.com/');

3. Set mainfile.php on the webserver writeable
4. Upload the changed mainfile.php to the webserver
5. Set mainfile.php on the webserver to be not writeable

4
Tabasco
Re: Changing IP to DNS
  • 2005/1/30 13:04

  • Tabasco

  • Quite a regular

  • Posts: 203

  • Since: 2003/12/26


In the Cache folder I have 3 files:

%%51^51C.....
adminmenu.php
pical_minical_cace....


Is it safe to delete adminmenu.php?

5
Tabasco
Re: Changing IP to DNS
  • 2005/1/30 13:15

  • Tabasco

  • Quite a regular

  • Posts: 203

  • Since: 2003/12/26


Quote:

Mithrandir wrote:
1. Download the mainfile.php from your webserver via FTP
2. Edit line 39 in it
from
define('XOOPS_URL''http://66.49.225.213/');

to
define('XOOPS_URL''http://www.red-hour.com/');

3. Set mainfile.php on the webserver writeable
4. Upload the changed mainfile.php to the webserver
5. Set mainfile.php on the webserver to be not writeable


You're the man Mithrandir, that worked

I thank you Resized Image

Login

Who's Online

255 user(s) are online (172 user(s) are browsing Support Forums)


Members: 0


Guests: 255


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits