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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Removing dotnetnuke folder from URLRemoving dotnetnuke folder from URL
Previous
 
Next
New Post
9/4/2011 10:23 PM
 
I performed a DNN installation exactly according to the installation webinar.  I have installed DNN and setup an entire site, physically located at c:\inetpub\wwwroot\dotnetnuke.  In IIS 7.5, in the Default Web Site, I created an application named /dotnetnuke that refers to this physical path.  I can access the site just fine at http://localhost/dotnetnuke or http://www.mydomain.com/dotnetnuke (so both localhost/dotnetnuke and www.mydomain.com/dotnetnuke are listed as portal aliases).

I want to remove the "dotnetnuke" folder from the URL.  There are many solutions to this in many forums, and here's what I've tried without success:

1.) Tried to use the HostHeader parameter in web.config.  Unfortunately this has no effect - when I browse to http://localhost or http://www.mydomain.com IIS just delivers the c:\inetpub\wwwroot physical path, which just contains the default iisstart.htm file.  So the web.config or DNN stuff never gets touched.  I had added localhost and www.mydomain.com to the portal aliases.

2.) Tried changing the Default Web Site file location to be c:\inetpub\wwwroot\dotnetnuke (without the HostHeader change).  This results in a "This site is currently Unavailable  Please check back later" page at the moment.  I seem to recall in earlier troubleshooting this resulted in the install wizard appearing.  I had added localhost and www.mydomain.com to the portal aliases.

3.) Tried physically moving all the donetnuke folder contents up to c:\inetpub\wwwroot.  This results in a "This site is currently Unavailable  Please check back later" page at the moment.  I had added localhost and www.mydomain.com to the portal aliases.


So, in short, what is the *official* procedure to remove the dotnetnuke directory from the URL for users who followed the install webinar exactly?
 
New Post
9/6/2011 3:20 AM
 
I would suggest given that you are using IIS 7.5 that you DONT install dnn in the c:\inetpub\wwwroot  physical path - and that your also DONT create an application / virtual folder that is a child of webroot.

Instead - install dnn in a separate folder:

c:\inetpub\dnn601  for example.

and then in IIS create a separate website and point it directly at the c:\inetpub\dnn601 folder and assign the bindings for this website direction to your domain.

Westa


 
New Post
9/8/2011 2:00 AM
 
Sure, a simple answer is "don't follow the install webinar and, if your host situation allows, install to some root path".  But there are additional questions then, like how to configure the Application in IIS (can't use a root path?).  And in my case, starting over with a new install like that wasn't an option.

So far I've worked around this entire thing with a complicated set of IIS URL ReWrite rules, based largely on the rules posted here:

http://forum.winhost.com/showthread.php?t=8565

I've made some changes of my own to those rules, however.  I still have not configured it to make the Host and Admin URLs look pretty.

But there should be some other more straightforward approach for people in my situation (followed install webinar exactly, completed site design, and want rid of the folder in URL).
 
New Post
1/18/2013 7:42 PM
 
Michael: The solution to your question was part of the original design intention of DotNetNuke: allowing installation in a subdirectory. The feature is the HostHeader parameter in the web.config file, and I have an active DNN 5 website running on Godaddy which correctly supports that full configuration without having to install in root.

The need to install in root is NOT the original design of DotNetNuke, but may be a current limitation of some of the poorly designed extensions which you may have purchased. The quality of extensions I have purchased vary widely. Unlike development for some platforms (notably the Apple iPhone), DotNetNuke extensions do not have a universally-applied standard of regression testing for their compatibility.  As a shortcut, some module developers will insist on installing in root instead of going through the necessary work to virtualize their installation.

For DNN 6 and DNN 7, the HostHeader parameter is broken against a newer feature called Canonical and Redirect (in the admin advanced site settings). The newer feature was not regression tested against the already-supported and promoted HostHeader setting as you can see in the forum thread http://www.dotnetnuke.com/Resources/F...

Your solution is to hope that someone will fix this issue -- please follow the other thread.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Removing dotnetnuke folder from URLRemoving dotnetnuke folder from URL


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