?
Solved

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

Posted on 2008-10-08
2
Medium Priority
?
911 Views
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!
0
Comment
Question by:JaniHuttunen
2 Comments
 
LVL 11

Assisted Solution

by:loftyworm
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.
0
 

Accepted Solution

by:
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.


0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
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…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
Suggested Courses

809 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