I recently bought a new VPS, and I was trying to set private nameservers in my domain cPanel.
I went ahead and added 4 A records:
- ns1.mydomain.com - points to my IP
- ns2.mydomain.com - points to my IP
- www.mydomain.com - points to my IP
- mydomain.com - points to my IP
and changed the nameservers to ns1 and ns2.mydomain.com. The problem is that now while typing www.ns1.mydomain.com and www.ns2.mydomain.com in the browser, it points to the correct IP address, but the www.mydomain.com domain is returning an error:
The webpage at http://mydomain.com/ might be temporarily down or it may have moved permanently to a new web address.
Error 137 (net::ERR_NAME_RESOLUTION_FAILED): Unknown error.
The error message above was received in Chrome.
mydomain.com
actually is, so we can check your DNS records remotely. Also, how long have you waited for the DNS changes to propagate? It can take up to 72 hours to work properly.ns1
andns2
sub domains (as you say).