Fix ERR_NAME_NOT_RESOLVED in WordPress
“ERR_NAME_NOT_RESOLVED” is a DNS-related error in WordPress indicating that the domain name cannot be resolved to an IP address. The following steps will help you solve this problem:
- Check Your Internet Connection: Check if your internet connection is stable if you encounter problems in WordPress. A stable Internet connection is vital for a smooth experience on your website. If you cannot solve the connection problem yourself, contact your Internet Service Provider (ISP) for help.
- Clear Browser Cache: Cached data may cause conflicts. In your browser settings, find the menu section to clear cache and cookies and do this for your site. Close your site in your browser and open it again to apply the changes and load the latest version of your pages, eliminating potential page loading or display issues.
- Verify Domain Registration: Make sure your domain registration has not expired. Go to your domain registrar’s website and check the registration date and renew it if necessary.
- Check DNS Settings: Check your domain’s DNS settings. Make sure the nameservers are configured correctly and point to your hosting provider. If necessary, contact your hosting support for assistance.
- Flush DNS Cache: Open the command prompt on your computer and type the following command to flush the DNS cache:
ipconfig /flushdns
This step is particularly relevant for Windows users.
- Hosts File Check: Check the hosts file on your computer for any incorrect entries. This file is usually located at
C:\Windows\System32\drivers\etc\hosts
on Windows or/etc/hosts
on macOS and Linux. - Switch DNS Servers: Try using a different DNS server. You can change the DNS settings on your computer or use a different DNS service, such as Google DNS or OpenDNS.
- Temporary Disable Firewall or Antivirus: It is possible that your firewall or antivirus software is blocking the connection. Disable them and check if the problem goes away.
- Contact Hosting Support: If you have followed the above steps and the problem persists, contact your hosting provider’s support team.
- Wait for DNS Propagation: If you recently changed your DNS settings or registered a new domain, it may take up to 48 hours for the changes to take effect.
- Use a VPN: If you have problems accessing a site, you can use a virtual private network (VPN), this can help bypass regional restrictions or network-related issues.
If after following these steps the problem persists, it is recommended that you seek the help of a qualified system administrator programmer who can perform a more in-depth analysis of the configuration of your server and WordPress site.