Solution for web page not opening when connected through VPN

apple black coffee business coffee
Photo by Pixabay on Pexels.com

This article provides the solution for website not opening when connected through VPN. Majority of the job of a web developers is to maintain a website developed by the developer himself or any other developers. Intelligent web developers find out the solution quickly and implement it quickly. This increases the availability of the website and enhances customer satisfaction. One such problem, cause of the problem and solution is explained as below.

Problem: The web page is not opening when the the visitor is connecting through a VPN connection.

Cause: In this case, one of the probable cause may be, the frontend script of the visited web page is connecting to another webpage. When accessed through VPN, sometimes the the webpage can not connect to any external website. This problem occurs specifically if the site is not a secured site i.e. the site is not starting with https:// .

Solution :One possible solution is to modify the source code of the web page. Follow the steps to resolve the issue.

1: Check the web page and find out any script tag like the one shown in the example given below:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>

2: If it is found, then open the webpage whose URL is embedded in the script tag. In this case it is http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js and save the source code in a file named jquery.min.js

3 : Place the file in a folder lets say jquery

4: Then replace the identified code with the following line of code:

<script type="text/javascript" src="../jquery/jquery.min.js"></script>

Web Maintenance Blogs

Administrator Intelligent Web Developers

The Administrator is the head of the Intelligent Web Developer website. He is responsible for managing the website and its content. He works closely with the website's developers to ensure that the site is running smoothly and that all of the content is up-to-date. They also liaise with the website's users to ensure that they are satisfied with the site.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.