Categories: Guides

Some Websites not Loading in VPN [Problem Fix]


Using a Virtual Private Network (VPN) is a good way to bypass ISP restriction such as website or port blockages. One can easily setup a VPN through a server or purchase paid subscriptions by providers. Setting up a VPN is fairly easy and you can get it done within minutes but there are little problems that come with it.

I have seen many of the users who face problems accessing websites after setting up a PPTP/L2TP VPN, the webpages won’t load (or stuck at loading) at all but other websites would load just fine. So, I have mentioned some steps below that could fix this problem.

Websites Not Opening in VPN [Fix]

1. Correct your network adapter MTU [works 80% of time]

MTU is the packet size that helps making a connection between your Computer and the server. If it is not properly determined, you will face issues. To correct MTU size, follow steps:

Open Comment prompt (cmd) with administrator privileges.

Type the following command and press Enter.

netsh interface ipv4 show subinterfaces

It will show you connected LAN/WiFi network adapters, bytes sent and received including the MTU size. Now what you need to do is to adjust the MTU size using the following command.

netsh interface ipv4 set subinterface "Local Area Connection" mtu=nnnn store=persistent

Local Area Connection (red) is the name of the network connection on your computer, from the list obtained above.
nnnn (green) is the desired value for MTU.

The default MTU size is 1500 on many connections. Try lowering it down to 1472, 1450, 1380 until the websites start opening again on your PC.

Remember, you need to restart your PC for the changes to take effect.

2. If changing MTU does not work for you, change the DNS settings.

Change your DNS IP addresses to popular free service like, Google DNS.

Go to Network adapter settings, change TCP/IPv4  properties and set DNS to 8.8.8.8 and 8.8.4.4

After doing this, go to command prompt, and type “ipconfig /flushdns” and press Enter.

3. Clear your browser cache, cookies

If you are using Chrome or Firefox, press CTRL+Shift+DEL and remove the browsing history, cookies and cache. They sometime prevent the websites from opening.

If you have any other troubleshooting tips, or have any ideas to improve this guide, please comment below. Thanks for reading!

This post was last modified on February 13, 2015 9:03 am

Justin Weber

Founder of TechKhoji, gaming and tech geek. I like solving problems and helping people with their stuff. I've been writing here for more than 5 years. Drop a comment below, if you are facing any difficulties.

View Comments

  • Thank you, thank you, thank you! 1472 worked for me. I wish I had found this article 3 months ago. Much appreciated.

  • Thanks. I am using a router setup with PPTP and purevpn. The default MTU was 1420 and I couldn't load liveleak.com, speedtest.net and a few other media rich websites. I changed it first to 1400 and the internet stopped working altogether. I then changed it to 1380 and now all websites are working. I didn't have to change the default 1500 MTU in windows I just left it. Thanks for your tutorial.

  • Symptoms: Could access all websites without fail when not on VPN. When on VPN, could not seem to access any websites.

    I lowered the MTU to 1380 at the router and all magically works.

  • For me (using NordVPN):

    Adjusting the MTU value prevented any websites from loading.

    Changing the DNS has worked, but I also had to set the DNS values inside the vpn apps advanced settings.

    Just an FYI.

    Thanks for the post, OP.

  • Hi,

    Thanks I tried all the above options but still my applications arent loading. I see a Green page displayed as 'Page unable to load due to server error'. Is there any other way to make things work on a VPN connectivity? I dont use LAN but wifi.

    Greatly appreciate it.

  • Hello.

    I'm struggling with a lot of webpages since I have VPN installed and active.
    Sorry for being noob, but I don't quite understand what exactly to do in cmd.

    This is what I have done:
    - Opened cmd with administrator privilege.
    - Typed the following command : "netsh interface ipv4 show subinterfaces" and pressed Enter.
    - At that point I get a window similar to the screenshot in the description.

    But here is where I'm stuck. It's in the next command "netsh interface ipv4 set subinterface "Local Area Connection" mtu=nnnn store=persistent" :
    -I suppose I have to replace the red "Local Area Connection" to something else?? What??
    -And change the green "nnnn" to either 1472, 1450 or 1380?

    I tried the second solution (change DNS settings), but it didn't work for me.

    Thank you for your time and help!

  • Just so everyone understands, for either procedure to work, you have to reboot your computer after changing these settings.
    And just FYI, DO NOT use googles DNS. Use Nords. 103.86.96.100 and or 103.86.99.100

  • You only specify one network connection, however I often show multiple network adapters.

    MTU MediaSenseState Bytes In Bytes Out Interface
    ------ --------------- --------- --------- -------------
    1472 1 17665133 2931136 Wi-Fi
    1500 5 0 0 Bluetooth Network Connection
    1500 5 0 0 Ethernet
    4294967295 1 0 181918 Loopback Pseudo-Interface 1
    1500 5 0 0 Local Area Connection* 5
    1500 5 0 0 Local Area Connection* 6
    1500 1 11005531 1157316 Ethernet 2

    Which one's am I supposed to change? Thanks!

  • None of this worked for me. It turned out to be an annoying issue with my VPN. Instead of Automatic I chose UDP protocol and the site finally loaded.

  • MTU 1472 for Wi-Fi worked for me, left all others at 1500! Odd that our cell phones, Android TV box, smart TV, etc. have no issues loading web pages with wifi, only this desktop's wifi connection had an issue. We use NordVPN but DID NOT have to use alternate DNS, either in Windows nor in NordVPN app. Thanks so much---woohoo!

Share
Published by
Justin Weber

Recent Posts

Discord Voice Chat Stuck at “RTC Connecting” Fix

Discord is fast and quick web-browser alternative for Steam Chat and Teamspeak but like every…

3 weeks ago

Could Not Connect To The Steam Network – Fix

Steam is a wonderful place to play games with your friends. Despite having many competitors…

3 weeks ago

How to Reduce Ping (Latency) in Online Games [2020]

Having a stable internet connection is must whether you're playing online games, streaming videos or…

4 weeks ago

How to move Steam Games to another PC or Drive [2020]

Steam is a great platform to buy games, play and make new friends. Whenever you…

1 month ago

Unknown “Program” in Startup Process in Task Manager [Fix]

It's always a good idea to check the running applications and startup programs on every…

1 month ago

Get IDM like Download Speed in Google Chrome [Guide]

Lately, I have witnessed people getting slow download speeds while downloading files on Google Chrome…

2 months ago