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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...1 server with SQL and another with Web/IIS1 server with SQL and another with Web/IIS
Previous
 
Next
New Post
6/23/2010 12:21 PM
 
Amanda:

This always creates some confusion.  Let's forget about DNN for a minute, think about how regular Web sites work and how you go about registering a domain and pointing it to the Web server, where ever that Web server might be.  When you register a domain, you have the domain you will use in the URL and DNS automagically will route the traffic to the server.  On the typical Web server, if you are hosting multiple Web sites with only one IP address, IIS needs to know how to find the right Web site physical directory where to serve the pages from.  Since all Web sites use the same address, and by the way, the same port, 80, the only other way to differentiate the sites is by the Host Name, or Alias for the site.

So, what you are missing is the definition of the Host Name in IIS, this is in the Web site definition.  The Host Name must match the Alias you entered in DNN.  I am not near a server right now to tell you the steps, sorry.  Then, to run the site from another PC, a way to route those packets is needed.  If it is a public site, a registered domain would accomplish that.  For an intranet site, you can set it up in the internal DNS server.  For testing however, what I do is to add the Alias/Domain/Host Name to the Hosts file on my PC.  In that way I can create or fake any domain I want.  Again, the entries in the Hosts file, the DNN Alias, and the IIS Host Name must match.

Hope this helps, it is not a step by step procedure but you may be able to figure it out.

Carlos
 
New Post
6/23/2010 12:31 PM
 
When you add a Parent portal you need to do something in IIS, when you add a child portal you don't.

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
6/27/2010 9:13 AM
 
Chris Hammond wrote:
When you add a Parent portal you need to do something in IIS, when you add a child portal you don't.

 Actually, you never need to do anything in IIS.  It's just name resolution that's needed to direct the new portal name, whether parent or child, to the IP that IIS answers on for the DNN app.

Jeff

 
New Post
6/27/2010 9:15 AM
 
Carlos Rodriguez wrote:

So, what you are missing is the definition of the Host Name in IIS, this is in the Web site definition.

 Always leave the host name blank in IIS unless you're using Host Headers to run two sites on one IP.  All DNN portals run as a single IIS site, there is no need to use host names.  DNS directs the name to the IP and DNN answers all requests and directs the request to the proper portal.

Jeff

 
New Post
6/27/2010 9:17 AM
 
Amanda Thorson wrote:
on my webserver i just do http://localhost/dotnetnuke.....  How do i do it on my local pc?

 http://{ServerName}/dotnetnuke/

{ServerName} is the FQDN or the server name itself or just the IP, but that URL has to match the portal alias you used in creating the portal.

Jeff

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...1 server with SQL and another with Web/IIS1 server with SQL and another with Web/IIS


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