My browser is not displaying web sites. When I use my browser to visit a web site, it sometimes fails to load a web page or only displays part of the page. Sometimes I see timeout errors, yet at other times the site loads fine. What’s going on and how can I fix this problem?
There are many reasons why a web page may not load successfully in your browser. Sometimes the problem is one of compatibility. A web site’s developers may choose to use proprietary coding techniques that not every browser knows how to interpret. You can check for this type of issue by using a different browser to visit the web site in question. That’s one of the reasons why I keep Chrome, Safari and Firefox web browsers handy. If a page loads in one browser but not another, I know it’s a compatibility problem.
One of the most likely causes of a web page not loading is a wrongly configured or poorly maintained DNS (Domain Name Server) system by your ISP (Internet Service Provider). Most Internet users have the DNS system assigned to them by their ISP. Sometimes this is done automatically; sometimes an ISP will give you the DNS server’s Internet address to manually enter into your Mac’s network settings. In either case, the problem is usually at the ISP’s end of the connection.
DNS is a system that allows us to use easily remembered names for web sites (as well as other Internet services), instead of the harder-to-remember numeric IP addresses assigned to web sites. For example, it is a lot easier to remember www.core24.co.uk than 184.108.40.206, which is one of Core Solutions’s actual IP address. If the DNS system is having problems translating www.core24.co.uk to the correct IP address, then the web site won’t load. You may see an error message, or only part of the web site may display.
That doesn’t mean there is nothing you can do. You can confirm whether your ISP’s DNS system is working correctly. If it isn’t (or even if it is), if you wish, you can change your DNS settings to use a more robust server than the one your ISP recommends.
Testing Your DNS
OS X offers various ways to test and confirm whether an operational DNS system is available to you. I’m going to show you one of those methods.
- Launch Terminal, located at /Applications/Utilities/.
- Type or copy/paste the following command into the Terminal window.
- a) host www.core24.co.uk
- Press the return or enter key after you enter the line above.
If your ISP’s DNS system is working, you should see the following two lines returned in the Terminal application:
www.core24.co.uk is an alias for core24.co.uk.
core24.co.uk has address 220.127.116.11
What is important is the second line, which verifies that the DNS system was able to translate the web site’s name into an actual numeric Internet address, in this case 18.104.22.168. (please note: the actual IP address returned may be different).
Try the host command if you’re having problems accessing a web site. Don’t worry about the number of lines of text that may be returned; it varies from web site to web site. What’s important is that you do not see a line that says:
Host your.website.name not found
If you get a ‘web site not found’ result, and you’re sure you have entered the web site’s name correctly (and that there really is a web site by that name), than you can be reasonably sure that, at least for the moment, your ISP’s DNS system is having problems.
Use a Different DNS
The easiest way to fix an ISP’s malfunctioning DNS is to substitute a different DNS for the one provided. My current favorite DNS system is run by the ubiquitous Google. Google provides complete instructions for making the changes to your network setting here:
but if you’re having DNS issues, you may not be able to access that web site. This is how to make the changes yourself.
- Launch System Preferences by clicking on the ‘System Preferences’ icon in the Dock, or choosing the ‘System Preferences’ item from the Apple menu.
- Click the ‘Network’ icon in the System Preferences window.
- Select the connection you are using for Internet access. For most people, this will be Built-In Ethernet.
- Click the ‘Advanced’ button
- Select the ‘DNS’ tab.
- Click the plus (+) button below the DNS Servers field and enter the following DNS address: 22.214.171.124
- Repeat the above steps and enter a second DNS address: 126.96.36.199
- Click the ‘OK’ button.
- Click the ‘Apply’ button.
- Close the Network preferences pane.
Your Mac will now have access to the DNS services provided by Google, and hopefully the wayward web site should now load properly.
Google also provide a utility called “namebench” which is designed to find the fastest DNS server for your location, you can download it here:
And if you find that the Google servers aren’t near enough to the top of the list for you then you can use the steps above to substitute the one you want to try.
As an aside, personally I tend to use one of my ISPs DNS addresses and one of Google’s as primary and secondary DNS servers, that way I feel there’s a level of redundancy if one of the two organisations is having issues.