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 ...Making the DotNetNuke Application Default to Web /rootMaking the DotNetNuke Application Default to Web /root
Previous
 
Next
New Post
6/6/2006 10:05 AM
 

Windows Server 2003; IIS 6; DotNetNuke 4.0.3; SQL Server Express

I would like to make a DotNetNuke application (currently available at mydomain.com/dotnetnuke) the default portal when browsing to mydomain.com at the root level.  Is there a way to either change the IIS > Virtual Directories > Starting Point, or otherwise use an ALIAS maybe?  I have not configured any PARENT or CHILD portals, so I have no experience with ALIAS yet and don't quite understand if an ALIAS may help here.

Logged into DNN as HOST, I selected Host > Portals : and added the ALIAS www.mydomain.com; logged into IIS for mydomain.com, I added the Host Header www.mydomain.com also.  I thought these two steps might make a difference, but they didn't.  I feel like I'm missing something simple and obvious.


If a problem can be solved, there's no use worrying about it.
If it can't be solved, worrying will do no good.
 
New Post
6/7/2006 10:40 PM
 

Excuse me for posting a question that has already been discussed in other threads.  I did search this subject before posting - but I was pretty certain that search came up empty - no posts.  It wasn't until today's "body contains" search on "web root" that I found out how much this issue is alive and mostly unresolved.  There seems to be a few partial work-arounds, and if I find a reliable one, I'll post a follow-up below.


If a problem can be solved, there's no use worrying about it.
If it can't be solved, worrying will do no good.
 
New Post
6/7/2006 11:39 PM
 

This is a fairly common scenario and no workarounds are needed. I have numerous DNN portals setup this way and it takes three steps:

1) Create an IIS virtual website pointing to the DNN folder.

2) Add an IIS host header for the desired FQDN such as www.site.com

3) Add a portal alias for www.site.com (done automatically if setting up DNN at this URL)

Nik

 

 


Nik Kalyani
Co-founder
DotNetNuke Corporation
Blog | Twitter | FaceBook
 
New Post
6/8/2006 3:12 AM
 

Hey Tikkune,

I have the same problem that you do, the big difference being that I don't understand what cniknet says when he gave you the solution to the problem. I'm a complete novice when it comes to this, so if you could give me any helpful hints. That would be excellent.

Andreas

 
New Post
6/8/2006 7:48 AM
 

First, I want to thank Nik for his post above, because that post gave me the 'faith' that portal resolving to a simple URL (www.sampledomain.com) is possible.  And the fact that Nik mentions multiple portals was the really helpful pointer I needed.

I've been using DotNetNuke 4.0.3 for just a week or so, and during that time I've only been working with one portal, the first-DNN-install-created-portal made when installing DNN. I figured, "let me get good at this first portal before creating another", but Nik's post urged me to move on, to make another portal now.

The very first thing I did was to make sure DNS was resolving www.sampledomain.com to the machine where my DotNetNuke installation resides.

Next, using IIS 6.x, I created a new Web Site that had the Home Directory point to my DotNetNuke installation:

Web Sites [folder] > SampleSite (highlight and right-click) > Properties >

Home Directory [tab] > "The content for this resource should come from:" A directory located on this computer [radio button] > Read (access) [checkbox] > Local Path: C:\DotNetNuke > OK [button]

 

... then I set a Host Header to the simple URL I want my DNN portal to resolve to:

 

Web Sites [folder] > SampleSite (highlight and right-click) > Properties >

Web Site [tab] > Advanced [button] > Add [button] > IP Address: (default, or select); TCP Port: 80; Host Header Value: sampledomain.com > OK [button]

 

Back in DotNetNuke, logging in as Host to my first-DNN-install-created-portal, I created a new Parent portal with an alias to www.sampledomain.com:

 

Host > Portals > Add New Portal >

 

Portal Type: Parent

Portal Alias: www.sampledomain.com

Template:(select one)

Security Settings: (complete all fields)

 

Create Portal (link)

 

And with that, I created my first-by-me-created-portal.  This new portal resolves perfectly to a simple URL like www.sampledomain.com, just as Nik describes above.

 

J

 

One thing I would note.  At this point, I don't know much about Export Template feature (under DNN : Host > Portals > Add New Portal), but I will try exporting my first-DNN-install-created-portal to a template file.  I worked so hard on that portal over the past 8 days; I'd rather not have to reconfigure a new Parent from the beginning.  If Export Template works OK, I'll suppose I can select it from the Template dropdown menu when I’m creating a new portal.  That should get my new portal looking just like my first-DNN-install-created-portal.

 

Maybe someone’s already come up with a shorter name for the first-DNN-install-created-portal; if not, I vote for something like Core Portal.  First portal really sounds to me more like the first portal that we create on our own.

 

Summary: I think the trouble I was experiencing (and maybe you, too Andreas?), was that I was trying to mess with my Core Portal, to get it to do more than it should have to do.  It may be best to leave that portal as a mostly clean, un-configured Admin/Host portal that you reach by www.yourdomain.com/dotnetnuke or similar sub folder path name.  Leave the Core Portal alone and immediately get to making a new Parent Portal, if resolving to a simple URL is your goal.

 

Tikkune

 


If a problem can be solved, there's no use worrying about it.
If it can't be solved, worrying will do no good.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Making the DotNetNuke Application Default to Web /rootMaking the DotNetNuke Application Default to Web /root


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