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 ...New Parent Portal Alias WoesNew Parent Portal Alias Woes
Previous
 
Next
New Post
3/19/2006 8:00 PM
 

Hi all, hopefully someone can set me on the right path here...

I have had DotNetNuke running for a little while and now want to create a new Parent Portal. Ok, thats easy I go in and setup my new portal but when I have finished creating it and click "Create Portal" I get sent to a page saying "The page cannot be found". Does this have anything to do with my alias? My default portal has an alias of: localhost/dotnetnuke_2 I named my new portal test so thought the alias should aptly be named: localhost/test does that sound right? Where have I derailed myself?

Any suggestions appreciated.

--Stephen

 
New Post
4/5/2006 12:04 PM
 

I have the same problem. Anyone figured out how to fix this yet?

Mike

 
New Post
4/23/2006 11:32 AM
 
I have the same problem with the 4.x installation. Creating a child portal works as expected where a child folder is created in the DotNetNuke folder. I would expect a parent portal to have it's own root and virtual directory in IIS to work as localhost/parent but I can see no folders or references in IIS.

I've looked at all the online help and the download documentation and cannot find any information so far ... 3-4 hours.

The install was great but I feel I've hit a brick wall with this one. I'll write a creating a new portal guide myself once I've cracked it.

cheers

Steve
 
New Post
4/23/2006 2:16 PM
 
I worked it out for myself. Use the add new portal form to add a parent portal. For the portal alias on localhost use localhost/YourParentPortalName.

Submit the form and then create a virtual directory in IIS called 'yourparentportal' and simply point it to your original DNN website install folder in the set local path  text box. A no-brainer in the end!


 
New Post
4/23/2006 2:35 PM
 
SlicerX wrote

Hi all, hopefully someone can set me on the right path here...

I have had DotNetNuke running for a little while and now want to create a new Parent Portal. Ok, thats easy I go in and setup my new portal but when I have finished creating it and click "Create Portal" I get sent to a page saying "The page cannot be found". Does this have anything to do with my alias? My default portal has an alias of: localhost/dotnetnuke_2 I named my new portal test so thought the alias should aptly be named: localhost/test does that sound right? Where have I derailed myself?

Any suggestions appreciated.

--Stephen

localhost/ test in IIS will alwasy point to a virtual directory under the root web site.  To verify this create a virtual director under IIS and creat a simple html page and it will access it. The problem is becuase of how XP Pro is limited to one web site and you have to create the DNN in VD under the root.  Normally when you create a parent portal it is create so that the domain all point to the same web site root. See example below.

Web Root C:\Web\DotNetNuke
Portal #1: Parent1.com
Portal #2: Parent2.com

Option #1
1) Download and installl IISAdmin.Net 1.1 from CodeProject. This will allow you to create multiple web site under XP Pro (but you can only run one at a time).  There is an easy interface to switch between web sites.

2) Create a new web site and point the root directory to your current directory.

3) Update your C:\WINDOWS\system32\drivers\etc\hosts file so that any domains you want to point to your DNN install point to 127.0.0.1 same as local host does.  So using the example above you would have 3 entries

127.0.0.1 localhost
127.0.0.1 Parent1.com
127.0.0.1 Parent2.com

3) Access site using the original URL.

4) Go to Host / Portals and edit each portal.  At the bottom of the screen you will see an area to maitain the aliases for each porta.  Add the aliase you created entries for in step #1 correct portal using the old URL

4) Access the sites using the new aliases and DNN should run okay. 

** Now anytime you need to create a new parent portal all you need to do is  add a new entry to the hosts file and then create the parent portal in DNN.  Plus, you must make sure you have the DotNetNuke site running instead of the default web site.

Option #2

1) Update your C:\WINDOWS\system32\drivers\etc\hosts file so that any domains you want to point to your DNN install point to 127.0.0.1 same as local host does.  So using the example above you would have 3 entries

127.0.0.1 localhost
127.0.0.1 Parent1.com
127.0.0.1 Parent2.com

2) Create new parent web site using one of the domains you created an entry for in step #1.

3) You will still get an error when you try to access the site using the new domain.

** At this point you will stil get an error that you cannot access the site.  The reason for this is the new parent domain point to the root of the default web site and not the DNN virtual directory.  So you need to take additional steps to get this to work.

4) Access site using the original URL and login as host.

5) Go to Host / Portals and edit each portal.  At the bottom of the screen you will see the alias you created the new Parent with (Parent1.com, Parent2.com, etc).  So it access the DNN directory you would need to edit the alias and add the DotNetNuke_2 virtual directory (Parent1.com/DotNetNuke_2, Parent2.com/DotNetnuke_2, etc)
 
Option #3
I have also heard of people using redirects to also take care of XP Pros limitation of only allowing one web site.  Since I have never done this I cannot give any advice on how to take care of the problem with this method.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...New Parent Portal Alias WoesNew Parent Portal Alias Woes


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