While surfing the web you may face several problems, sometimes web pages fail to load completely, server error, slow loading of pages, site getting stuck, and many other types of errors, one of them is totally different, that it affects only a few websites so that some website stops loading or opening in any browser.
Website not loading error is really annoying especially when all other sites are working fine and only some “website not loading” or not opening in any browser like Google Chrome, Firefox, Opera, etc.
You may have tried many different solutions to fix this error like restarting the router and computer, tried safe mode in Windows, disabling few windows services and if it is still not working for you then probably you came to the right place.
There may be numbers of reason why your computer is blocking access to a particular website.
Why are Some Websites not loading?
Try to recall what you were doing before getting this annoying issue? Did you install new software, patch, crack, keygen? Or maybe you just start getting this issue without doing anything.
This problem occurs when a program tries to change DNS server address of your computer and affects it in different ways like it tries to change proxy settings, DNS address, and other connection settings.
Or your ISP is having the problem with their default DNS server address.
A website not loading issue can occur if your computer is affected by a malicious program or virus.
Above are the reason for Website are not loading error.
How to Fix Website Not Loading Error
Here are some tips and tricks you can try but the most successful solution is to change your ISP’s DNS to Google’s public DNS.
Method 1: Change DNS server address
The default DNS server provided by your ISP may not e working properly, you can try to change DNS server to some of the free and secure public DNS which are provided by Google, Open DNS, DNS Watch, OpenNIC, and UncensoredDNS.
Follow the steps below to change DNS server on your Windows computer-
1. Go to Start and open control panel.
2. Look for “Network and sharing center” and open it.
3. Find your network interface, in simple words internet connection name and click on it.
4. Now you will get another window with connection status, click on Properties here.
5. Under properties double-click Internet Protocol Version 4 (TCP/IPv4).
6. Now another dialog box will appear with IP address and DNS server address, here you need to select “Use the following DNS server address” and assign following DNS address
- Preferred DNS server: 18.104.22.168
- Alternate DNS server: 22.214.171.124
Above DNS server address is Google’s public DNS which is one of the fastest DNS servers around the globe.
7. Now hit OK to every dialog box to save the changes you made.
Try to visit the affected websites now, if they work then great if not try restarting your computer.
Here is a list of Secure public DNS, if Google DNS is not working then you can try any of these-
- Google DNS – 126.96.36.199 and 188.8.131.52
- Open DNS – 184.108.40.206 and 220.127.116.11
- DNS Watch – 18.104.22.168 and 22.214.171.124
- OpenNIC – 126.96.36.199 and 188.8.131.52
- UncensoredDNS – 184.108.40.206 and 220.127.116.11
Method 2: If Websites are still not opening even after the restart
The above method of changing DNS should work, if you are still facing Website not working issue the follow next.
1. Detele temporary files – Press Win+ R key together on your keyboard, type %temp% in “run” dialog box and hit OK, it will take you to the temporary files, select them all and delete.
2. Delete history, cache, and cookies from browsers.
3. Reset your browsers to their default settings.
4. Check the Hosts file in Windows if a particular website is not working.
Go to My Computer > C:\Windows\System32\drivers\etc locate Hosts file and open it with notepad if you find that particular website listed there then put # before the site name or delete the site from hosts file and save it.
A normal hosts file will look like above picture, if you have something different then make it like this.
Restart your computer and try to open affected sites, if they are still not opening then follow next.
Method 3: Flushing DNS Cache
Whenever you visit websites, your Windows OS creates a small database in your computer to keep the record of visited websites for faster access next time. These records are created when you visit any website for the first time.
It is like a phone book where you don’t have to remember the numbers, in the same way, this database records the DNS address and IP of visited websites.
Whenever you try to open the same website again, DNS cache fetches the IP of the website from DNS cache for faster access.
DNS cache may get corrupted and get wrong entries for particular or many websites due to the technical fault or some malware attacks.
To reset this DNS database you have to perform DNS flushing to erase all the entries.
Follow these steps –
- Open cmd as administrator.
- Type ipconfig/flushdns to clear the DNS cache.
You will get Successfully flushed the DNS Resolver Cache message after executing the command.
Method 4: Run a Malware Scan
There may be malware affecting your browsing experiences like injecting adware, redirects, pop-up ads and many other annoying banner ads, these may be due to adware which is mainly caused by installed malware into your Windows computer.
These malware changes the DNS records and redirects your favorite website to some ads or block them completely.
If the malware exists in your computer then it will re-enter the bad entries into DNS server even after DNS Flush.
To remove them completely you need to run a malware scan using a good antivirus program like Hitman Pro.
Download Hitman Pro and run a quick scan, it comes free for the first 30 days.
Delete all the found malware, be careful it may give false positive results too, like it may mark some DLL files as malware, just uncheck them before deleting.
Now reboot your computer and check if the particular website is working or not.
Fix if Some Websites Not Opening on WiFi
There may be a scenario when certain websites are not loading over wifi but works pretty well on a wired connection on your laptop or PC. This issue is mainly caused by a router firewall or misconfiguration in the router’s setting.
You need to access the router interface by logging into the admin area. Check the default URL to access your router generally it is 192.168.1.1 or 192.168.1.0 for most of the routers and username – admin, password- admin.
If you are not sure you can find the default URL, Username and password on the Internet.
Once you are logged in check if your router has an internal firewall. If it has then try to disable it for certain period. Now check if you are able to access blocked websites.
If it does not have any firewall then you can reset the modem/router. Before any reset note down the configurations or take screenshots. After the reset, assign a valid SSID and password for your router. You may also call your ISP if you are unable to do it your own.
How to fix website not loading error on Mac OS X.
1. If this happened for the first time try restarting your Mac.
2. Try clearing browser history cache and cookies, clean your browser using free cleaning tool Ccleaner. Ccleaner is a popular tool for both Windows and Mac and it works well with every browser like Safari, Chrome, Firefox, etc.
Change DNS server address to Google Public DNS
- From the Apple menu, click on Preferences. And the below window will appear.
2. Select Network and you will get another window as below. Select your network interface by default, the active internet connection is already selected.
3. Once selected the network connection click on the Advanced option and from the next window select DNS.
4. Click on “+” to add new DNS server address, if it has already any other DNS server then remove them by clicking on “–” sign.
5. Add new DNS server 18.104.22.168 and 22.214.171.124 (Google DNS)
6. Click OK and Apply to save the changes.
Now try to visit those sites, if it still does not work then restart your Mac.
You can also use OpenDNS by Cisco instead of Google DNS.
OpenDNS server address is:
126.96.36.199 and 188.8.131.52
DNS Flushing in macOS – Open Terminal and type dscacheutil -flushcache and hit Enter.
I hope above solutions work for you, whether it is working or not please let me know in comments.