Forum Moderators: phranque
looking to switch a site from shared to dedicated across different hosts. Of course i cant switch nameservers till i know the new server and dns is correctly setup. I have asked for some cnames to be set which the new host says has been done. My problem is i cant verify they are working. If i edit my computer hosts file to use there dns server and try a cname it redirects to their own website. Strange. If use my server ip then i get a cpanel message saying no site configured. The cname should load a seperate site and not a site on that server. If i do
'dig @hostnamerver domain'
it comes back with the current sites ip, not the ip which it would use if i switched dns. All the while the host tells me it all works fine at their end. Maybe im missing something obviuos but nothing i do at my end verifys what they are saying. Any ideas on what queries to run to verify that all is well if i switch nameservers?
If apache is asked to server a site it doesn't see in it's config files, it serves the first site in it's config file. So if you point a domain at a server via your hosts file, and apache isn't aware of the domain, you'll likely see your hosting company's web site.
Not sure what you're doing with cnames. That's not how I normally move domains.
re cnames they appear correct now. However just to explain. i had something like
sub.domain.com pointing at www.anothersite.com
so anothersite.com is not served by me.
So no way should a request for sub.domain.com be sent to apahe since it should go straight to www.anothersite.com
Im not sure what is reasonable to expect when a managed dedicated server is handed over but i would have expected at least the server to have a ptr record which it does not. I get a bad feeling on this.
>>>>When a host transfers in a domain for hosting do they not have to change their nameserver to show your site on one of their own servers rather than where it currently is?
Not neccessarily, but sure, in your case you can assume that this is correct.