Hi
I’m currently working on a site where the host forces DNN to be installed in a subfolder (e.g. /dnn) . Installation isn’t a problem but the resulting URLs containing the subfolder name are a problem i.e.
www.mydomain.com/dnn/....
To try and ‘remove’ dnn from the URLs, I have followed the following steps, as suggested by Charles Self’s blog posting here (see last entry):
http://forums.networksolutions.com/we...
1. Updated the host head key in web.config to <add key="HostHeader" value="dnn/" />
2 Added portal aliases www.mydomain.com and www.mydomain.com/dnn to the PortalAlias table.
As a result the site still responds to URLs with /dnn but I get 404 when trying to access pages without /dnn in the URL. This seems logical as there is no mechanism to point the domain to the DNN application in the subfolder.
Even when adding a default.aspx at root level to forward browsers to
www.mydomain.com/dnn/ , 'dnn' remains in the URLs, so there is no sign of the HostHeader key making any difference at all. What step am I missing?
What else do I need to do to prevent the subfolder appearing in the URL?
Any pointers appreciated…
Phil
Ps DNN 5.4.2