-=How I change my DNS name in Gallery2?=-

pedro666
pedro666's picture

Joined: 2005-10-11
Posts: 12
Posted: Thu, 2005-10-20 14:25

How I can change my DNS name of my site ?

Gallery2 seem to have hardcode somewhere my old DNS name where I change it and how ?

Thanks

Pedro

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32506
Posted: Thu, 2005-10-20 14:31

no, G2 doesn't store your hostname / domain.
it gets the hostname from your server configuration. maybe you need to change the hostname in httpd.conf (your webserver).

btw: DNS = domain name server, so it's not what you think it is :)

Login or register to post comments
fryfrog

Joined: 2002-10-30
Posts: 3233
Posted: Sun, 2005-10-23 08:39

If you recently changed servers or domain names, it might also be due to the re-write module. Deactiave and uninstall it, then re-install and configure it. It would be trivial to verify this is the problem, if you open your .htaccess file and search for your domain name. If it is there, its the problem. If not, it isn't. G2 doesn't use your domain name at all anywhere else, if it even uses it there.
_________________________________
Support & Documentation || Donate to Gallery || My Website

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32506
Posted: Sun, 2005-10-23 13:26

the rewrite module doesn't store the domain name since beta 2 or 3. we only store the path from the first slash after the domain name / to main.php.

Login or register to post comments
fryfrog

Joined: 2002-10-30
Posts: 3233
Posted: Sun, 2005-10-23 13:47

I see!
_________________________________
Support & Documentation || Donate to Gallery || My Website

Login or register to post comments
zeppfrog

Joined: 2009-11-03
Posts: 2
Posted: Tue, 2009-11-03 21:02

if you change your domain name after you have already installed, edit the /Gallery/config.php at the bottom where your old domain name is, save it back and you should be good to go.

In some cases, run cmd ipconfig /flushdns
I find that one pretty handy when building websites. Use it often

Login or register to post comments