Problem with domain getting turned to IP address for https
Posted
by user229133
on Stack Overflow
See other posts from Stack Overflow
or by user229133
Published on 2010-03-16T20:46:00Z
Indexed on
2010/03/16
21:51 UTC
Read the original article
Hit count: 171
windows-server-2003
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.
© Stack Overflow or respective owner