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 ...Can I have 2 parent portals pointing to the same DNN installation?Can I have 2 parent portals pointing to the same DNN installation?
Previous
 
Next
New Post
1/15/2007 2:55 PM
 

 

To get two domains pointed at the same IIS website you need to configure DNS so that they both go to the same IP address.  Whoever is manging your DNS should be able to point all the domains to the same IP address.

The, IIS should be configured to listen on that IP address, which should already be done if your main one works normally.

After that you need to make sure that you configure Host Headers in IIS if the IIS website that is listening on that IP address also shares that IP address with other IIS websites which is often the case in a shared hosting environment.  You should be able to manage host headers through your GoDaddy control panel.  A Host Header is basically the same thing for IIS as a Portal ALias is for DNN.  It tells IIS that it should be looking for these domains on the Url and send the traffic to the application directory which will be your dnn folder.

After IIS is configured properly to route traffic for the different domains to your single DNN application, you need to configure DNN to map each host.domain to the portal you want associated with that host.domain.  You do this with the Portal Alias in DNN.

 


DotNetNuke Modules from Snapsis.com
 
New Post
1/15/2007 3:27 PM
 

For what it's worth NSLOOKUP gives me the same IP address for my main hosting URL as it does for my 2 separate portal URLs. I have also use the control panel to tell IIS that it should match my portal URLs with the DNN subdir. Supposedly this CP app also registers with the DNS server the appropriate IP address.

GoDaddy said I was using old name servers and that is why I was get a 302 redirect which if true at least makes sense as to why both my portal URLs ended up with the hostingURL/DNN address I guess. And why the redirected URL address was in the title bar. He claims somewhere between 4 and 24 hours the new DNS server names will propogate and I will from then on properly get directed to the hosting server directly rather than a 302 redirect. We'll see...Thanks. Dave

 
New Post
1/16/2007 1:15 PM
 
Looks like the problem is with DNN. If I point one of my URLs at another subdir this redirection does not happen and the title URL stays the same. So something in the DNN installation is causing a 302 redirect which 1) causes the edit bar URL to changed to my "MyHostingDomain.com/DNN" which is ugly as well as 2) I think keeps me from being able to login to my second portal via the second URL as it redirects to the first portal always. Starting a new post on this in the "DNN redirecting my multiple portal URLs???" thread. Thanks, Dave
 
New Post
1/16/2007 1:35 PM
 
Hi Dave - have you set up both of your domains in the Domain Management screen in the GoDaddy Control Panel?
For instance, if you have DNN installed in /home, then you'd want to set up:

DOMAIN1.COM pointing to the /home directory

and

DOMAIN2.COM pointing to the /home directory

Then within DNN, make sure each portal is defined as "www.domain1.com" and "www.domain2.com" - no /home needed.

The one bugger is that you can't designate a sub-directory on the domain associated with your hosting account, so I'm in the process of dis-associating my "domain1" from the hosting account and adding it as "secondary" domain so I can point it towards "/home".
 
New Post
1/16/2007 10:00 PM
 

Hi jraven,

Interestingly I saw that you had made the "last post" on this thread at 1:35 PM but could not actually read the post till much later.

I have set both of my portal domain names to the /DNN subdir in my shared hosting server root directory.

And within DNN I have 2 aliases for the primary portal - e.g. www.myhostingdomain/dnn which I think was put there by default and that I cannot edit and www.domain1.com which I added. For the second portal that I defined I set www.domain2.com as the alias.

Sorry, don't understand the "bugger" as you describe it. Perhaps related to my problem?

I take it your setup is on GoDaddy and works? My first portal works but the edit bar gets the redirected URL of www.myhostingdomain/dnn no matter whether I type in www.domain1.com or www.domain2.com and I have never been able to get a new portal view for my second portal as I always get the domain1 view.

Do you get, are you supposed to get, 302 redirects from DNN when entering an alias URL? Can you tell what header is returned from your DNN install if you use an HTTP header viewer to hit the alias URL?

Thanks, Dave

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Can I have 2 parent portals pointing to the same DNN installation?Can I have 2 parent portals pointing to the same DNN installation?


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