For some reason I can't get this to work.
I installed DotNetNuke into mydomain.com/DNN folder (instead of the root) as per GoDaddy's instructions. In the Host, Portals screen it shows mydomain.com/DNN as an alias for the host portal 0.
Then I created a child portal in /DNN/newsite to develop and test the new site. In the Host, Portals screen it shows mydomain.com/DNN/newsite as an alias for portal 1. Okay, so far, so good. Once I wanted to take the site live I added mydomain.com as another alias to portal 1. There is a default.aspx file in the root directory with the line: window.location="mydomain.com/DNN/newsite". Point a browser to mydomain.com and the new site's home page comes up with the url reading: http://www.mydomain.com/DNN/default.aspx?alias=www.mydomain.com/DNN/newsite.
From there all of the site's menu links are in the form http://mydomain.com/DNN/newsite/home.aspx as I've already added the HumanFriendly url flag. I want to strip out the /DNN/newsite so I added that to the HostHeader line as you described and set the brackets flag to True. Closed browser, cleared cache, tried it again and it's still in there. Now, the interesting thing is that if I just put /DNN in the HostHeader I can type in mydomain.com and it still goes to the home page just fine but the url reads http://mydomain.com/DNN, and all of the menu links are in the form http://mydomain.com/home.aspx but they return 404 error. That's the form I was after but something isn't resolving correctly.
BTW, I've also tried adding just /newsite in HostHeader but it says it can't resolve, and I've tried deleting the alias mydomain.com/DNN/newsite from portal1 but then I get a default DNN page.
Any thoughts?
Thanks,
Jay