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
fryfrog
Joined: 2002-10-30
Posts: 3236
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
valiant
Joined: 2003-01-04
Posts: 32509
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.
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
Posts: 32509
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
Posts: 3236
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
Posts: 32509
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.
Posts: 3236
I see!
_________________________________
Support & Documentation || Donate to Gallery || My Website
Posts: 2
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