Server 2008 IIS redirects http access to http://localhost/<sitename>

Posted on 2008-10-08
Medium Priority
Last Modified: 2012-05-05
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!
Question by:JaniHuttunen
LVL 11

Assisted Solution

loftyworm earned 80 total points
ID: 22671280
Sounds like you are missing a config file in DotNetNuke that needs to be setup.  I would look at the install documentation for your app.

Accepted Solution

JaniHuttunen earned 0 total points
ID: 22671645
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.


Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question