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.