1
xueming
Is it possible to change DNS without reinstall ?
  • 2005/10/10 15:46

  • xueming

  • Not too shy to talk

  • Posts: 127

  • Since: 2005/2/7 6


Hello,

I have spelled my domain name wrong when I bought it and have set up everything since then.

Now I need to fix the domain name (buy another one), is it possible to just update few files and not to install the whole thing again?

I was thinking about if I can just change the file mainfile.php?

Thanks for your help!!

2
mschmid
Re: Is it possible to change DNS without reinstall ?
  • 2005/10/10 15:55

  • mschmid

  • Just popping in

  • Posts: 28

  • Since: 2002/9/19


As I know this has nothing to do with the mainfile.php.
You just have to update your apache configuration and your hosts file (if you have unix).
The host.domain.xy has to point to the right apache DocumentRoot and the same dir is configured in the mainfile.php. You can check this by just typing your ip address of your webserver and may with the dir /html/

hope it helps
Markus

3
xueming
Re: Is it possible to change DNS without reinstall ?
  • 2005/10/10 16:13

  • xueming

  • Not too shy to talk

  • Posts: 127

  • Since: 2005/2/7 6


Thanks for your reply!!

The reason I mentioned the mainfile.php is that it has this line in there:

define('XOOPS_URL', 'http://www.yourdomainname.com');

I did update my dns from the ensim control panel.

Is my site url stored in the database also? if so how do I update it? Thx

4
bluenova
Re: Is it possible to change DNS without reinstall ?

Hi xueming,

You are correct you just need to update mainfile.php with the new domain name. There is nothing to change in the database.

5
xueming
Re: Is it possible to change DNS without reinstall ?
  • 2005/10/10 17:09

  • xueming

  • Not too shy to talk

  • Posts: 127

  • Since: 2005/2/7 6


Thanks a lot !!

Now I just need to wait for my new domain name being propagated to see if it works :)

Regards

6
xueming
Re: Is it possible to change DNS without reinstall ?
  • 2005/10/10 22:30

  • xueming

  • Not too shy to talk

  • Posts: 127

  • Since: 2005/2/7 6


Yep. it works!!

Login

Who's Online

324 user(s) are online (273 user(s) are browsing Support Forums)


Members: 0


Guests: 324


more...

Donat-O-Meter

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

Latest GitHub Commits