3.12. DNS error

It often happens that after registering a domain, changing its address records or NS, an old site page or DNS error is displayed in the browser when you try to open your site:

Possible methods of solving the problem:

If you are using your ISP's DNS servers, the reason may be that they have not had time to update DNS cache. This can be checked in the following ways:

  1. Open your site via any online proxy service, e.g. ProxySite.com or ProxyOrb.
  2. Use the ping command.

If the site opens via an online proxy or the IP address in the command output does not match the main IP address of your hosting account server or is not returned at all, then the theory about outdated information on the provider's servers is correct.

Possible methods of solving the problem:

  • (Recommended) Set Cloudflare/Google public DNS in the network connection settings on your device.
  • If you do not want to change your network connection settings, you can specify the main IP address of your hosting account server in the hosts system file:
    1. Run Notepad with administrator privileges.
    2. Open the c:Windows/System32/drivers/etc/hosts file in Notepad (you can specify the path in the "File name" field).
    3. Add a line with the main IP address of your hosting account server and the name of your domain separated by a space:
Content

    (2)