Last post Feb 21, 2006 12:36 AM by smehaffie
Feb 15, 2006 02:23 PM|haggisns|LINK
I'm sorry for posting because this has been answered by Jeff who wrote this article
It explains how to set up a portal alias so that when browsing from a client machine you don't get automatically redirected to localhost or to a page not found error.
I followed the instructions and still experiencing the behavior the article sets out to fix.
I have a dotnetnuke installation.It is the default portal that comes with DNN install.
I added a new portal aliases: that aim at:
I then created a test.html page and added to the dnn root directory and just tried to access it.
I got a
I have opened the security as much as I believe possible in IIS Manager and NTFS permissions just to at least see the page.
Feb 16, 2006 08:54 AMfirstname.lastname@example.org|LINK
First guess is you have IIS set to use Windows Integrated authentication. Make sure IIS is set to Anonymous only, in the Directory Security tab, Edit button. For a good explanationa nd resource for Access Denied errors, see:
Feb 16, 2006 09:36 AM|haggisns|LINK
Thanks for response.
I don't have IIS set to integrated authentication. It is definitely set to anonymous only.
Any other ideas?
Feb 16, 2006 09:41 AM|haggisns|LINK
Wait, sorry, the test.html page is displayed but the default.aspx page provides a : Page cannot be displayed error.
Feb 16, 2006 11:47 PMemail@example.com|LINK
That sounds like you got the host alias wrong for your server. The host alias must match the exact host you're requesting. For example, if the URL is
http://www.sample.com/dnn/default.aspx then the alias must be
Feb 17, 2006 02:49 PM|haggisns|LINK
I checked it out again and based on your advice that is fine.
When I look at my Portals page and view the default portal the first portal alias for the default site
Is this the problem? should it be something else?
If this is the problem, how do I change it? as its the first Host Alias and does not have an edit option.
Feb 18, 2006 01:27 AM|smehaffie|LINK
Feb 18, 2006 07:38 PMfirstname.lastname@example.org|LINK
You can tell if it's going to localhost by looking at the URL in the error. If it is, your host alias is incorrect. The first alias is whatever you installed it as.
Feb 20, 2006 11:05 AM|haggisns|LINK
Under the Portal Aliases for my host site I have:
My virtual directory is dotnetnuke pointing to the C:\inetpub\wwwroot\dotnetnuke directory.
http://xxx.xxx.xxx.xxx/dotnetnuke/test.html works fine.
http://xxx.xxx.xxx.xxx/dotnetnuke/errorpage.aspx works fine.
Under Host settings:
host url: http://xxx.xxx.xxx.xxx/dotnetnuke/default.aspx
Feb 21, 2006 12:36 AM|smehaffie|LINK