6

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.

4
  • It would help if we know what 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.
    – Oldskool
    Dec 18, 2012 at 23:55
  • @Oldskool , www.demiracles.com
    – CrazyCodeZ
    Dec 19, 2012 at 5:12
  • @Oldskool , Here is my Domain Panel Screen Shots , i47.tinypic.com/2i9pf2f.jpg AND i45.tinypic.com/34dpy0x.jpg
    – CrazyCodeZ
    Dec 19, 2012 at 5:27
  • Wild guess... have you changed the correct/master DNS zone? Nothing else resolves apart from the ns1 and ns2 sub domains (as you say).
    – MrWhite
    Dec 19, 2012 at 10:12

1 Answer 1

3

What happens when you run your domain through intodns.com? That can help you spot errors in your setup.

A common mistake is including or not including a dot on the left hand side of the entries in zone setup.

Consider this entry with a dot

enter image description here

This creates a record "testing" pointing to the specified IP address. Probably not not what you want.

Consider this entry with out a dot:

enter image description here

In this case, if your domain was "domain.com", the resulting A record would be: testing.domain.com pointing to the specified IP address.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.