Solved

IIS Issue: HTTPS pages are not loading: "Page Load Error"

Posted on 2009-04-03
16
1,273 Views
Last Modified: 2013-11-16
I have little experience with Server Administration.  I am working on a .NET site right now where I am just uploading files via FTP and their "Computer Administrator" is dealing with setting up the security.  However, he doesn't seem to know what is going on here.

We had the site working at www.somename.com/something but have since tried to move it to www.somename.com .  The site appears but with one problem.  When I try to go to the login page which is linked to a web application, it does not appear.  This happens with any https pages that I view within the site (there are two).  

These pages were working just fine before the move.  Any ideas?  
0
Comment
Question by:4thShiftInnovations
  • 8
  • 8
16 Comments
 
LVL 22

Expert Comment

by:cj_1969
ID: 24061145
Do the sites work with http and just not https?  If so, then you probably have a redirection issue where something is trying to use http and is being blocked.

if not, then check your configuration files and your code.  You have changed the relative path of the application so if anything has the path hard coded to look into or refer to the sub directory then this is going to break, since it is not there any more.

As a test to see if it is the directory reference, try creating a new virtual site on a different port.  Give it a different starting directory and then configure a virtual directory to point to the root of the site where the app is location ... this should reproduce the original structure (just on a different port) so that you can test the code ... assuming you did not make any code/configuration changes to facilitate the move to begin with.

If this works, check your code, you have something with a hard coded reference to the sub directory.
0
 

Author Comment

by:4thShiftInnovations
ID: 24061482
I can see in the address bar that these links are going to the correct location with the HTTPS:// preceding the address.  
0
 
LVL 22

Expert Comment

by:cj_1969
ID: 24061541
When the page comes up do a view source and see what is in the page ... see if there is a full URL reference to the sub directory in there.  A reference to a JS page on the site that controls content could cause a problem like this if it cannot load the js code.
0
 

Author Comment

by:4thShiftInnovations
ID: 24061642
When I viewed the source it is correct.  Looks something like this .... href="https://www.mysite.com/mysub/"
0
 
LVL 22

Expert Comment

by:cj_1969
ID: 24061670
Didn't you move the "mysub" content to the root of the server ... this is not going to work if the code is not there.
0
 

Author Comment

by:4thShiftInnovations
ID: 24061737
I guess I need to explain better.  No code has been moved anywhere but rather their administrator pointed www.mysite.com to the virtual directory where our .NET site is.  The mysub content has always been in the root and has never moved or been modified during our development or moving process.  

Would it be better to just have him move our site to the root?
0
 
LVL 22

Expert Comment

by:cj_1969
ID: 24061811
In which case if you browse the site it should no longer be there.
Based on this information your old structure would have been ...

Root
   - mysub
   - something (app directory)

You changed root so it now points to something which means there is no mysub directory any more, it is at a higher level than the root of the server.

- mysub
- Root/something  (app directory)

If this is the case then youcan do one of two things ...
1. have them create a virtual directory in the new root folder back to the folder
2. copy/move the folder into the new root folder (move would be preferred so that you do not have multiple copies but you might want to copy first, test, delete original if/when it works)

The virtual directory is the easiest but it is worth considering option 2 to keep the structure clean and physically matching the actual references.  No right or wrong, depends on what meets your needs.
0
 

Author Comment

by:4thShiftInnovations
ID: 24061925
If this was the problem, wouldn't the HTTPS page within the project that is not working, be working like all the other pages within the project.
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 22

Expert Comment

by:cj_1969
ID: 24062009
If the page is located within the subfolder then yes, it SHOULD ... it is possible that the browser or IIS has that paged cached which is allowing it to be displayed.  If it is not in the sub folder then no, it will display just fine and just have a problem with the content.
0
 

Author Comment

by:4thShiftInnovations
ID: 24062179
Below is an example outline of what I am talking about.  There are secure pages within the project that are not displaying and secure pages outside the project that are not displaying.  Basically, if it is a secure page, it is not displaying and the administrator claims he has set up security properly.

Project root
default.aspx -Displays fine
-Directory1
->file1.aspx - Displays fine
->file2.aspx - Displays fine
-Directory2
->form1.html - Displays fine
->secureForm.html - DOES NOT DISPLAY "PAGE LOAD ERROR"
-Directory3
->file3.aspx -Displays fine
->file4.aspx -Displays fine

mySub Project root in different location
secureLogin.html - DOES NOT DISPLAY "PAGE LOAD ERROR"
0
 
LVL 22

Expert Comment

by:cj_1969
ID: 24062221
What is the content of secureForm.html?
Page Load Error implies that the page is accessbile but that something within it is causing problems.
And, are all of these pages being accessed via https?
Can you access the page via http?  Obviously not if the page has been restricted to SSL only but I thought I would ask.
0
 

Author Comment

by:4thShiftInnovations
ID: 24062310
Yeah if I try it with HTTP in front, it says "Page not found".  Only the secureForm.html and secureLogin.html are being accessed using HTTPS.  There should be nothing wrong with the content of these pages since they were working just fine before the move.  I am going to try and find out more about exactly what the administrator did during the move.  
0
 
LVL 22

Expert Comment

by:cj_1969
ID: 24062435
Try using https on any other page ... SSL only will restrict access to only SSL but no reference will make it available through either ... so, if you can access a working page via SSL then the SSL configuration should be correct.  If a working non-ssl page does not work over ssl then its the ssl configuration that is the problem.

If ssl is working then there is almost certainly something in the page that is causing the problem.  There could also be a problem in the web.config if there is one.  See if you can get a copy of this file and see if there are any hard coded references to the sub directory that might be causing a problem.
0
 

Author Comment

by:4thShiftInnovations
ID: 24062485
Ok, I tried to go to one of the working pages with HTTPS in front and it did not work.  So is it for sure an SSL issue?
0
 
LVL 22

Accepted Solution

by:
cj_1969 earned 500 total points
ID: 24062525
It would appear to be.  If the page loads using http and not https then this would indicate that https is not configured correctly.  I would have them verify the port that https is configured to use ... the installation of a certificate is pretty straight forward ... they might have changed the default ssl port for the site which would cause a problem unless you qualify the URL request and append the port to the domain.  Otherwise port 443 is the default.  Another thing that could/might cause this is something else using the default port.  If another site is configured to use this as the default or another web server (apache for example) is installed and configured to use port 443 for ssl then this will intercept the requests and of course the page you are requesting will not be available.
0
 

Author Comment

by:4thShiftInnovations
ID: 24087816
Thanks for the help cj 1969.  I have opened another question that focuses on all possible SSL issues.  See link below:

http://www.experts-exchange.com/Networking/Protocols/Application_Protocols/SSL/Q_24302149.html
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
turbotax on windows 10 58
anti virus for Blackberry 6 34
Multiple Antivirus Providers  - Corporate 2 80
RDP Sonicwall 8 31
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now