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 ...Configuring IIS to house DNN and non-DNN sitesConfiguring IIS to house DNN and non-DNN sites
Previous
 
Next
New Post
12/12/2007 6:16 PM
 

Hello all,

The time has come for me to configure a non-DNN website on my host (which is a VPS, so I have full access to IIS, DNS, etc).

Thus far, all my DNN portals have been configured against a single "Default Web Site" configuration in IIS, and I've never had a problem.  I *thought* all I had to do for a non-DNN site would be to set up an additional IIS configuration and point its virtual directory to a different folder. 

I was hoping that the description within the manager would be enough to direct requests for that domain to the other config, but when I try to bring up the site, it immediately switches to my "default" site (trudeauconsulting.com). 

Sorry if this has been covered 1,000 times before, I did try searching through the forums but couldn't find this particular issue noted.  Any help would be most welcome!

Thanks!

 
New Post
1/6/2008 12:50 AM
 

Is DNN installed in the root of the default web site?  If so, do one of the following.

1) Move the DNN site to a VD under the default site instead of being in the root.

2) Create a new web site for your non-DNN site to live under.  Then you can then create a new VD for each non-DNN web appliation / site you need to create.

 
New Post
1/6/2008 3:09 AM
 

Brian ~

If you have access to IIS, I would simply create a new website.  You can use the same IP address as long as you either (1) update the host headers for the domain entries you want answered by the new website or (2) do not have a 'blank' entry on your default web site which would cause it to answer all requests on that IP.

Cheers,
Scott


Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
New Post
1/8/2008 10:02 AM
 

Thanks guys for the responses.   I will have to try that again - I thought I created a new website in IIS but it didn't "take".   I'll double check the settings (in response to the first question, no my DNN install is off the root, but not in it.

 
New Post
1/8/2008 10:19 AM
 

Brian:

As you know IIS can easily support multiple Web sites on one server with only one TCP/IP address.  The most important factor for this to work is the definition of the Host Header for the site.  This is how IIS differentiates what site should respond to the request from the client.  Yes, you need to create a new Web site and point its Home Directory to a different physical directory.  All this has nothing to do with DNN, this is just the way IIS works, DNN is just another application on its own directory.

By the way, Microsoft used to recommend not to use the Default Site for production sites for security reasons in the past, nowadays you should avoid using it because the Default Site may have an application like Sharepoint by default.  In any case, I would recommend you to not use the Default site for production sites.  Even on a brand new dedicated server, just create a new directory anywhere on the local disk and define a new site to use it.  This will force you to have a good and independent configuration for that site from the get go.

I think the problem you are having is the lack of the proper definition of the Host Header for the new site.  That must work.  If it doesn't, you may need to reset IIS by doing IISReset or by rebooting the server.  Note that both of these will make IIS unavailable to users temporarily.

Carlos

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Configuring IIS to house DNN and non-DNN sitesConfiguring IIS to house DNN and non-DNN sites


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