|
Article ID: KI0061
Added: 3/30/09 SS/DM
IRM hangs due to a wrong Server Name
Issue: A property that has an SSL certificate
installed hangs when it tries to go to a secured web page like Res1.asp.
It eventually comes up with "Page cannot be displayed" error and the server name
in the URL does not match what is on the certificate.
Solution
- Verify that the "SSL Certificate Installed" switch on the configuration
page is checked.
- Verify the name on the certificate by opening IIS. Right click on
Default Web Site and go to Properties. Go to the Directory Security
tab. Click the View Certificate button in Secure communications.
The "Issued to:" name is the name for the certificate.

- When you get the "Page cannot be displayed" error, look at the address
in the URL. Does it match the certificate? For example, the
"Issued to:" name is IRM.ResortData.com. The URL should start with "https://IRM.ResortData.com/IRM".

- If it matches, do not continue with these steps.
- If it does not match:
- Open a command prompt by clicking Start, clicking Run, typing cmd, and
clicking OK.
- Change to the folder where the Adsutil.vbs tool is located. By
default, this folder is
c:\Inetpub\AdminScripts.
- Type the following command, where "x" is your site identifier and
hostname is the alternate host name that you want to use:
cscript adsutil.vbs set w3svc/x/SetHostName hostname
For example, if I want to change the server name of Default Web Site to
IRM.ResortData.com, I would enter: cscript adsutil.vbs set w3svc/1/SetHostName
IRM.ResortData.com
- The site identifier is normally one (1) for the Default Website.
Find the site identifier by:
- Open
c:\windows\system32\inetsrv\metabase.xml in notepad
- Edit --> Find, look for ServerComment="Default Web Site"
- When you find it, look at the line above that has Location = "/LM/W3SVC/x",
where x is a number. That number is the site identifier.
In the example below, the site identifier is 1.

|