Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Removing subfolder name from URLs when DNN installed in subfolderRemoving subfolder name from URLs when DNN installed in subfolder
Previous
 
Next
New Post
6/18/2010 7:03 AM
 
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
 
New Post
6/18/2010 7:01 PM
 
You could probably jump through hoops and do stuff in DNN, but the problem ultimately lives in IIS. You need to specify the default site for the machine and configure it to launch with just the url. My dnn install is in it's own folder and I don't use the sub directory in the url. IIS instead tells it where to look.
 
New Post
6/21/2010 3:51 AM
 
Thanks for the reply Mike. You are quite right, but in this case the we're having to use Plesk and therefore there's no way of  defining IIS' root directory as anything other than the Plesk default i.e. /httpdocs. And due to Plesk's security procedures, its not practically possible to install in the root directory hence the subfolder install.

Phil
 
New Post
6/21/2010 11:19 AM
 
Sorry Phil. I don't know anything about Plesk. Hopefully you find a solution soon. It's awful frustrating when you can't get sites to run correctly.
 
New Post
7/23/2010 6:10 PM
 
Phil,

In case you are still having problems with DNN support at your existing host, we can help you.  We do support DNN installations and will assist you with IIS settings, folder permissions, root and subfolder installations, DNN backup and moving, etc.
We also use Plesk Control Panel for our clients websites, but as you discovered, the control panel does not allow changes to IIS home directory settings.

Best Regards,

Paul Gaston
Joe Big, Inc.
www.joebig.com
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Removing subfolder name from URLs when DNN installed in subfolderRemoving subfolder name from URLs when DNN installed in subfolder


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out