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 ...Setting up url path using virtual directory in IISSetting up url path using virtual directory in IIS
Previous
 
Next
New Post
7/16/2008 4:35 PM
 

It seems like there should be an obvious solution to this that I'm simply missing...

I have DNN set up and running correctly as a virtual directory under the default website in IIS. Platform is Server 2003.

I expect to be hosting a number of sites on this installation, and the behavior I am trying to get is where each domain resolves properly to the DNN application which in turn resolves the domain to a portal alias. I am trying to accomplish this so that the URL is *not* [somedomain]/dnn (where /dnn is the virtual directory where the app lives).

The most elegant solution I've come up with is where the default website under IIS adds "/dnn" to the url of the incoming request. This is using the IIS default website properties "website is a url" option and "add directory to url" suboption. This way, I don't even need to register each domain within IIS, just as portal aliases in DNN. The default website picks up any incoming domains that aren't assigned to other websites, adds "/dnn" to the request which resolves it to DNN, and DNN in turn resolves somedomain/dnn to a portal alias. The downside is that every single URL has that additional directory added to it. Maybe I'm picking nits, but this bugs me.

So, is there a way in IIS to resolve incoming domains to a DNN installation without adding a subdirectory? Thanks.

 
New Post
7/16/2008 5:46 PM
 

Even, you can create a single "Website" in IIS, set it up to point to the DNN Folder as the root of the website, then add "Host headers" for each domain you want it to respond to. It's fairly simple once you get it all running. Then you just create an additional portal for each domain in DNN (parent portals).


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
7/16/2008 6:03 PM
 

this was the first thing I tried. I get a 404 when I try this method, and assumed it had to do with dnn needing to run as either a virtual directory or application, like on my vista dev machine. Yes, the value is in the portal alias list. I wonder if it is the version of IIS that I'm running? It is whatever came on a 2003 install. Help | about doesn't give me a version, just some mmc information.

 
New Post
7/16/2008 6:04 PM
 

It should work as we website on 2k3 without too much trouble. You might need to define a Default page for the site as default.aspx


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
7/16/2008 8:02 PM
 

Still no joy. Well, off to the UK for 5 days. I'll mess with it when I get back. Thanks for the suggestions so far.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Setting up url path using virtual directory in IISSetting up url path using virtual directory in IIS


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