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 ...Help with Portals and Portal AliasesHelp with Portals and Portal Aliases
Previous
 
Next
New Post
7/27/2009 2:35 AM
 

Hello,

I have set up DotNetNuke on my server at home so that I can experiment with it.  I have set up some portals and I am having trouble accessing one of them.  I'm sure that I have made a dumb mistake out of ignorance and hopefully somebody will be able to help me to fix it.

I have W2K3 server with IIS 6.  This is all running internally on my home domain and is not exposed to the internet.  I set up DNN as a virtual directory under the default website:  Default Web Site-->DotNetNuke.  The Default Website that was set up had a portal alias of localhost/dotnetnuke (as I would expect) and I also added a portal alias containing the name of my server so that I could browse to the site from other computers on the network:  california/dotnetnuke.  I can browse to this site without any problems.  After reading about how to create Parent Portals, I tried creating another portal at localhost/site1 and gave it an alias of california/site1.  I did this because I wanted to try making a separate parent portal that was not under the localhost/dotnetnuke "domain name."  When I try navigating to either localhost/site1 or california/site1, I get a 404 page cannot be found error.  I verified in IIS that the folders for the site were there and the portal is appearing on my portals page, so I don't understand why I'm gettin this error.  As another test, I then created a different parent portal and gave it aliases of localhost/dotnetnuke/site1 and california/dotnetnuke/site1.  I have no problems browsing to this URL. 

Can anyone help to explain to me why I cannot get to localhost/site1 but I can get to localhost/dotnetnuke/site1?  I thought that as long as the aliases were properly set up, it was possible to have two parent portals, i.e. localhost/dotnetnuke and localhost/site1.  Instead, the only way I am able to get to any portal is if it is under localhost/dotnetnuke.  Am I understanding something incorrectly?  Thank you in advance for any help that you can give.

Regards,
John

 
New Post
7/27/2009 10:54 AM
 

greyseal96 wrote

Can anyone help to explain to me why I cannot get to localhost/site1 but I can get to localhost/dotnetnuke/site1?  I thought that as long as the aliases were properly set up, it was possible to have two parent portals, i.e. localhost/dotnetnuke and localhost/site1.  Instead, the only way I am able to get to any portal is if it is under localhost/dotnetnuke.  Am I understanding something incorrectly?

You're misunderstanding the concept of portals and host names.  A web site might be www.sample.com.  A child portal might be www.sample.com/child.  A parent portal might be www.foo.bar.  In your case, you are trying to create a parent portal under the host name of localhost.  Since localhost is the host name, the same as www.sample.com, anything including localhost has to be a child portal.

To create a parent portal in your case, you cannot use localhost.  That is a specific host name.  A prent portal uses a different host name.  Which also requires name resolution, meaning a DNS entry for the new host name pointing to the IP address answered by IIS.

Moral of the story -- Localhost is a useless host name.  It can't be used off the physical system and it points to a non-routable IP address, 127.0.0.1.  Configure DNS and your host names properly and everything will work properly.

Jeff

 
New Post
7/28/2009 3:29 PM
 

Jeff,

Thank you so much for respoding, I really appreciated your clarification.  What you said makes sense.  Let me see if I understand you correctly:

--I could use this internally in my home domain without it being internet facing, but that requires setting up my DNS correctly.  After reading your response, I tried setting up another zone in DNS called site1.com.  I created a host record and a CNAME record and pointed those to the server that I am running DNN on.  When I browsed to site1.com, I got the "Under Construction" page for the default website.  I still need to figure out how to get the site1.com zone pointing to my DNN installation at defaultwebsite/dotnetnuke.  But once I do, this should work, right?

--It sounds like it is best/easiest to install DNN either in the Default Website or in its own website.  Is it possible to install it in a virtual directory under the Default Website (as I have done) and have everything work correctly?  For instance, if I were to make my server internet facing and register a domain name (for example, www.testsite.com) , to get to my DNN site I would always have to type www.testsite.com/dotnetnuke.  Is that correct?  If so, I think that I've set up my installation of DNN incorrectly. 

Thank you in advance your help.

--John

 
New Post
6/4/2010 1:23 PM
 
greyseal96 wrote:

--I could use this internally in my home domain without it being internet facing, but that requires setting up my DNS correctly.  After reading your response, I tried setting up another zone in DNS called site1.com.  I created a host record and a CNAME record and pointed those to the server that I am running DNN on.  When I browsed to site1.com, I got the "Under Construction" page for the default website.  I still need to figure out how to get the site1.com zone pointing to my DNN installation at defaultwebsite/dotnetnuke.  But once I do, this should work, right?

John,

Did you ever figure out how to get 'site1.com' to point to your DNN site? I'm having this exact same problem (DNN install on internal localhost) and can't get the addressing to work without including the DNN virtual directory in the address (i.e. http://site1.com/dotnetnuke). If I just use the second domain name as the address, I end up at the default page for the IIS 'default web site'.

Thanks,
-Chris
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Help with Portals and Portal AliasesHelp with Portals and Portal Aliases


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