There are many reasons why a domain name may not be resolving to the server (i.e. when people enter the domain, they do not arrive at the correct server). This guide covers typical reasons, and how to overcome them, as well as give a simplified explanation of how DNS works.
Note: If the name servers have recently been changed, this means the changes need to propagate. However, always check the settings to make sure that it is setup as you expect. Just because the name servers were recently changed, does not mean they were changed correctly.
If it appears there is a problem with the DNS, you can check to following.
When you make certain changes to the DNS, such as name server changes, "A" record changes, "MX" record changes, etc., it takes time for those changes to propagate (or update) worldwide. Some people will see the change instantly and some will see the change within up to 48 hours (depending on what was changed).
The reason why propagation takes so long is because computers cache (remember) the old setting for a period of time. What is happening is that your computer, as well as servers on the internet, only check for DNS changes every so often. They typically do not check to see if the settings have changed every time you make a request. It assumes it is the same as the last time it checked. For name server changes, your computer and servers on the internet will cache this information for up to 48 hours. For other changes, such as A Records, MX Records, CNAME Records, etc., it will remember the old settings for up to 4 to 8 hours before checking to see if the settings have changed.
You can see your site sooner by viewing the site via an alternate URL.
If you cannot see your site after changing the name servers due to propagation, it may be because your computer is remembering the old name server settings. You may be able to see your site sooner by flushing the DNS on your computer (assuming your internet service provider is not also caching the DNS). You can follow the directions below to accomplish this.
If flushing the DNS does not work, then either the name servers have not been updated, or your internet service provider (ISP) is caching the DNS. If your ISP is caching the DNS, you will have to wait until propagation finishes to view your site via your domain name. This can take up to 48 hours.
If that does not work, there is a more technical way to make sure you can see your site sooner, by temporarily changing your hosts file on your computer. This will force your computer to go to our server's IP address for the most recent information. This does not actually fix the DNS; rather, it lets you see the site with your domain name, regardless of what the DNS says.