Solved

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

Posted on 2008-10-08
2
902 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 11

Assisted Solution

by:loftyworm
loftyworm earned 20 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

732 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