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 ...Trouble with multiple portalsTrouble with multiple portals
Previous
 
Next
New Post
8/25/2006 1:45 PM
 
I have one existing portal that works fine and now I am trying to setup another. I am unable to access new parent portal I have setup.

- I registered the domain name pointed the DNS
- I created a new portal in DNN with portal ID of 1 and gave the alias of the new domain
- In IIS I created a new site and pointed it to the directory with the default.aspx
- While in IIS I then added a host header for both domains

The dns  as propogated but I get "unable to access server" when browsing to the new domain.

Am I missing something?

Thanks, Justin.
 
New Post
8/28/2006 10:36 AM
 
Any ideas?
 
New Post
8/28/2006 11:04 AM
 
If I understand your question correctly, you had the first instance of DNN running fine and then you wanted to add another portal. If that is the case, you do not need to create a new site, just add the host header of the new site to the same DNN site you initially had. What you did actually causes problems. Remove the new site in IIS, DNN, the one instance you had originally, will take care of sorting out what site it must render based on the host header. But for this to work, the host headers for all child portals must be defined in the same site as the core DNN site. Many people get confused about this.

Carlos
 
New Post
8/28/2006 7:49 PM
 
Thanks for the reply Carlos,

Your instructions work fine for a child portal I can access the site via portal0.com/child but mot with www.portal1.com.

I have setup the host headers (www.portal1.com and portal1.com) and the aliases (www.portal1.com and portal1.com) in DNN but I am getting a DNS error.
 
New Post
8/28/2006 10:58 PM
 
Asmussen:

Aha, the DNS error is another thing altogether. What I do to do testing when running DNN on either my laptop or a server is to define the domains in my Hosts file. If you want to connect to the various portals on your own PC then put the entries below in your Hosts file:

127.0.0.1 www.portal0.com
127.0.0.1 portal0.com
127.0.0.1 www.portal1.com
127.0.0.1 portal1.com

One more thing for this to work, make sure that the home directory for DNN is set to the actual directory where DNN is running from and not the directory above it. For instance, on my laptop, I defined the home directory of the DNN site to C:\Inetpub\DNN434 instead of just C:\Inetpub. In this way you never have to enter the subdirectory in the URL.

This works for me perfectly, including for development with Visual Studio.

Hope it makes sense.

Carlos
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Trouble with multiple portalsTrouble with multiple portals


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