tehjoshshow
New Member
I have my production site's app pool to recycle every 2 hours or so. I noticed that when the first call to the site is made, the App Pool caches the base url (e.g. www.mysite.com). This makes sense as this is used to resolve relative paths in ASP.NET e.g. ~/MyFolder/MyPage.aspx, which is resolved to:\[code\]http://www.mysite.com/MyFolder/MyPage.aspx\[/code\]However since the site can be reached via our host name e.g. \[code\]http://masdfg.my.provider.net\[/code\]IIS thinks the url is \[code\]http://masdfg.my.provider.net/MyFolder/MyPage.aspx\[/code\]As you can image, this causing an issue with SSL as well as others. How can I prevent this from happening?