A very common issue you may encounter is when your local DNS resolvers cache a domain name to IP mapping. When you’re trying to go to the domain, it’s actually pulling up an old IP address (cached on your own computer) instead of looking for a new one and finding the correct record. In this article, I will show you the steps required to clear your cached DNS records.
The hosts file allows you to set IP addresses for a domain on your local computer that may override the authoritative DNS. This will allow you to see what a domain will display if it is pointed to a different server. In this article, I will show you how you can make changes to your hosts file.
If you are setting up your WordPress site with a SMTP plugin or using the PHPMailer library for sending email from your web server, you might encounter this SMTP Error: Failed to connect to server: Connection refused (111)/Network is unreachable (101). It’s a common connectivity issue on most shared hosting servers. In this post I will explain the issue in detail and show you how you can resolve it to have a fully functional email/SMTP setup.