Problem with domain getting turned to IP address for https

Posted by user229133 on Server Fault See other posts from Server Fault or by user229133
Published on 2010-03-16T20:46:00Z Indexed on 2010/03/17 2:51 UTC
Read the original article Hit count: 173

Filed under:

I have a website that is using Windows Server 2003. The site is called https://mysite.com/ and at ip address 111.1.1.1. Now when I log into the site all my relative links that are generated using NavURL (<%# NavURL("Images/Menu/img.gif")%>) are saying "http://111.1.1.1/Images/Menu/img.gif" instead of "https://mysite.com/Images/Menu/img.gif". This is causing an error because it needs to be secure. I'm sure there is a setting on the server somewhere to point to the name and not the ip, but I don't know where. Thanks for your help.

© Server Fault or respective owner

Related posts about windows-server-2003