Microsoft
Software
Hardware
Network
Question : Server 2008 IIS redirects http access to <a rel="nofollow" href="http://localhost/" target="_blank">http://localhost/</a><sitename<wbr />>
I installed fresh install of Server 2008 enterprise edition and SQL Server 2005 express edition. I installed IIS and .NET 3.0 features as those were not by default installed. I added DotNetNuke (uses ASP.NET) installation and configured IIS for this (opened IIS 7, the site appeared under Default Web Site, converted it to application). The virtual directory for this was, by default, set to be /dnn.
With thease settings, the DotNetNuke site opened nicely by typing
http://dnn01/dnn
on the server which was hosting the site. One notable thing, though, was the fact that the site redirected me to
http://localhost/dnn
. This naturally worked when using the server, but when I tried to access the site from another computer on the same domain, the
http://dnn01/dnn
redirected me again to
http://localhost/dnn
, which naturally was not working. If adding a regular html-site to IIS everything works fine. Do you have any idea what would solve the problem?
I alredy tried using bindings for the default web site, but at least with a few iterations could not find a way to fix the problem.
Thank you so much!
Answer : Server 2008 IIS redirects http access to <a rel="nofollow" href="http://localhost/" target="_blank">http://localhost/</a><sitename<wbr />>
Ok, found solution:
Need to add a second portal alias for the server name.
Under Admin -> Site Settings when logged in as host you will see Portal Aliases. Click "Add HTTP Alias" Then put in the server address. In this case dnn01/dnn.
Random Solutions
NavigatetoURL problem with Javascript call
Timer Interval not working
Linux init script, bash, exporting variable and accessing as another user?
How do I retrieve a lost contact entry from my contact folder
Report producing #Error in Text Box
Promote Exchange Server 2003 to Domain Controller?
Bulk Insert with Text Qualifiers
Need to insert a value into a textbox (which is in an iFrame) from an HTML page
Uninstalled VMware Server from Virtual Centre server, now virtual centre service will not start
How to redirect http queries to local IP, and email queries to remote IP?