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 ...Making my new site publicMaking my new site public
Previous
 
Next
New Post
6/3/2008 2:00 AM
 

Jeff Cochran wrote

You can't do as you ask.  You can put a reditrect file in your root that redirects request to the DNN folder, but that's about it.  The start of the DNN application is at www.MyWebsite.com/DNN.  You have to get to that subfolder to use DNN.  A redirect will simply take the URL without the /DNN folder and redirect to the URL with the /DNN folder.

The proper way to do this is to install DNN in the root of the web site.  Yes, it's not in the documentation.  It should be.  It is in many of the walkthroughs.  The installation docs need a lot of clarifying and redoing, and developers tend not to think in the same terms as normal people.  :)

Jeff

Hi Jeff,

First of thanks for your replay.

There should be some way to get the DNN website directly using www.MyWebsite.com, without typing DNN in URL and without changing the IIS pointer.

There is key name HostHeader in web.config <appSettings> section with comment as below. The comment is placed by the DotNetNuke (Might be placed by Shaun Walker).

<add key="HostHeader" value="" />
<!-- Host Header to remove from URL so "www.mydomain.com/johndoe/Default.aspx" is treated as "www.mydomain.com/Default.aspx" -->

Can you please explain me what is the meaning of this comment? What will be the value="?????" ? and will I require to do any settings in IIS?

Thanks,
Mahesh

 
New Post
6/7/2008 8:19 AM
 

Hi Jeff,

Any comment on this?

Regards,
Mahesh

 
New Post
6/8/2008 1:50 PM
 

Mahesh K. Anjani wrote

There should be some way to get the DNN website directly using www.MyWebsite.com, without typing DNN in URL and without changing the IIS pointer.

This is due to the way web site processing works.  IIS has a root for the site, which in your case is pointed to the directory that www.mywebsite.com points to.  DNN is installed in a subdirectory of the root, in your case the DNN subdirectory.  To access files in this subdirectory, you have to include the subdirectory.  End of story.  It's the same no matter what you have on a web site, whether DNN or any other app or even a HTML, PHP or ASP Classic file.

You have three options.  The first is to point the root of IIS one directory lower in the file folder hierarchy, to the DNN folder.  Then your site is accessed as www.mywebsite.com directly to the DNN installation.  The second method is to reinstall DNN to the root folder that IIS points to for the site.  And the third is to forward the page.  This results in a request to www.mywebsite.com being redirected to www.mywebsite.com/DNN, as if the user had typed that directly.  The DNN subfolder will appear in the URL.

You can run circles around this with rewiting apps, but the end result is always that the app is in the DNN subfolder and always will be.  Just as if you want to access something in the Windows folder on your C: drive, you can't type c:\ and get there.  You must include the subfolder.  Same on a Linux system with Apache, an IBM with Websphere or a BEA server.  It's the same across the known world.

Jeff

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Making my new site publicMaking my new site public


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