Forum Moderators: phranque
I'm not sure I really understand what you are getting are asking. Nameservers are more like pointers that point to your website - your website will not have the same IP address as your nameservers usually - especially not in a shared environment. If I type in the ips of my nameservers I get my hosting company's site not my own. What happens when you type in your domain name?
Any ideas?
I forgot to add, I'm set up with a reseller account so I can host multiple sites.
Perhaps I'm messing things up pointing like this from my zone file, but I'm troubleshooting and did not know what else to try.
ns1.domain.com
ns2.domain.com
and
www.otherdomain.com
The zone files on ns1 and ns2 should point www.otherdomain.com to a particular IP address to which your web server has been bound.
It seems like the web server you have been assigned has the same IP address as ns1 in this case, so that works, but pointing your domain to ns2 will just cause what you saw.
Hope that helps.
Now when I go to www.mydomain.com I get my normal index.html, this is what I want, but when I leave off the www and just go to mydomain.com, I'm still seeing the root directory Apache page.
Any ideas why I'm not seeing my normal index.html from the non-www address?