Quite often, a situation arises when, after changing NS servers or an address record, or registering a domain, when you try to go to a site page, you get a DNS error in your browser or an old page of your site.
Most often, this problem can be solved by
Clearing the cache and cookies of your browser
Clear cache-records DNS.
But sometimes the problem occurs at the level of the servers of your Internet provider, on which the information has not yet been updated.
You can check this option:
Having tried to open your site, for example, through an online proxy.
Using the command line of your operating system, run the ping command
If in the output of the command the address does not match the IP address of the server of your hosting account, or no address is given at all, we have confirmed the theory about outdated information on the provider's servers.
Note: you can find out the address of the server that serves your hosting account in "Control Panel - WWW Domains - IP Address":
In this case, the solution to the problem will be to change the DNS servers of the Internet provider to free DNS servers from Google. You can install them as follows.
Go to your operating system in "My Computer - Network - Network and Sharing Center":
Next, click "LMB on the connected network - Properties - Internet Protocol version 4 (TCP / IPv4)", as shown in the screenshot:
3. If you do not want to change the DNS server of your Internet connection, then you must specify the IP address of the hosting server in the system hosts file. To do this, you need to open a command prompt in the operating system as an administrator win+R -- cmd and run the following commands:
After that, a notepad will open in which you need to add an entry.