I registered a domain a while back and it was pointing to one of my virtual private server’s name servers.
The problem was, when I tried to access the new domain after keeping some sample website out there, I would be able to access it some day, and some other day, the browser would simply say that it cannot find the server. I had contacted my hosting service for support and they said that there was no problem with the website or the domain configuration and that they were able to access the website (while I was not on my machine).
So I somehow figured out it was a problem with my machine – something to do with local DNS. After doing a research, I found a way to fix it. I had to add the IP address of the name server of the domain to my local DNS configuration. These images show you how that was done.
If there are IP address on the list (which most probably will be there – and probably points to one of your ISPs DNS server), make sure to add your DNS entry at the end of the list. The order is important because, to resolve the IP address, the system will go through the first entry, if not found, goes to second entry and so on. If your new domain is not resolved by any other DNS entries, it then will fall to the entry that you just added.