Products

Solutions

Resources

Partners

Community

About

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!

The Community Blog is a personal opinion of community members and by no means the official standpoint of DNN Corp or DNN Platform. This is a place to express personal thoughts about DNNPlatform, the community and its ecosystem. Do you have useful information that you would like to share with the DNN Community in a featured article or blog? If so, please contact .

The use of the Community Blog is covered by our Community Blog Guidelines - please read before commenting or posting.


Hosting Multiple Sites on a Single Instance of DotNetNuke

One of the great strengths of DotNetNuke is the fact that you can host as many sites as you’d like, from a single installation of DNN.  Did I confused you?  Imagine that you are currently managing 5 or more websites, each with its own web hosting plan.  If they are each DNN, or otherwise a .Net and database enabled website, you’re easily spending over $7,000.00 just in hosting fees.  Imagine being able to spend a fraction of that amount by consolidating all of your websites into a single instance of DotNetNuke – leaving you to manage just a single hosting plan.  You can!

Just so you know, I am just going to talk about how to add new sites to an existing DNN site in this post.

The Web Host

The first thing to consider when planning to host all of your sites into a single installation of DNN, is your web host.  While DNN places no restriction on you in terms of how many sites you can host, and the number of domain names that those sites have, your web host may. 

Check with your web host immediately to see what limitations you might have.  For example, your web host might tell you that you’re only able to have up to 5 domain names associated to a single site in your account.  There are ways around this, but it’s a common and real-world example.

The Steps

There are three (3) basic steps to adding a new site to your instance of DNN.  They are outlined below:

  1. Update DNS
  2. Update IIS
  3. Add a New Portal in DNN

Update DNS

When you have a new or existing domain name, you need to point that domain name to a server.  This is what the Domain Name System (DNS) does for you.  It allows you to have a domain name that people can easily remember, but point it to an actual address on the internet.

The exact method of how to do this varies, as web hosts use a variety of different methods to add or edit a DNS entry to your domain name.  In general though, you want to make sure that you have an Host or A record in your DNS settings.  Simply specify the IP address of your web server to tell the DNS where to point requests to that domain to.

DNS: Host or A Record

Update IIS

Internet Information Server (IIS) is the web server that allows websites to work on the Microsoft platform.  It accepts requests from the internet for a website, and then responds with the requested web page and files.  In the world of DNN, it also is the final link to allow you to host multiple websites in DNN, before adding a new portal.

In order to add your new setting in IIS to accept requests for new domain names, you need to add an entry for the website called a Host Header.  This tells IIS all of the domain names that a single site will respond to. 

Once again, if you’re doing this through a web host, there could be any number of ways that they have you do this.  In IIS 7 though, it’s easier than ever. 

  1. Select your website in the list of websites.
  2. Click on Bindings in the right pane.
  3. Click the Add button.
  4. Add the new domain name into the new window that appears.
  5. Click OK to save the new domain name.
  6. Click Close to exit the Bindings dialog.

IIS: Host Headers

That’s it!  IIS is now all configured.

Add a New Portal

Most of you already know, but the word “portal” and “site” or “website” are interchangeable in DotNetNuke.  When we speak of adding a new portal to DNN, we’re also saying that we’re adding a new site.  It’s easy to do this in DNN. 

  1. Login using a Host or Superuser account.
  2. Go to the Portals page in the Host menu.
  3. Click the Add New Portal link at the bottom of the module, or in the actions menu.
  4. Fill in all of the information in the form on the next page.
  5. The Portal Alias is your new domain name.
  6. Click Create Portal to create your portal.
  7. Visit your new website!

DotNetNuke: Add New Portal (Site)

It’s really that simple to add a new portal to your site.

At this point, you technically should be able to see, access, and log into your new site.  However, you should note that DNS settings take time to spread across the internet.  For this reason, you and other may not be able to get to the site using it’s URL for up to 24 hours.  People in different regions of the country and world will also be able to use the URL at different times.  For example, you might be in Orlando, FL, and be able to see the site immediately.  In contrast, someone in the state of Washington might not be able to see the site for two more hours.  Additionally, someone in the UK might not see the site for 6 hours after that.  It really does vary.

Comments

Comment Form

Only registered users may post comments.

NewsArchives


Aderson Oliveira (22)
Alec Whittington (11)
Alessandra Daniels (3)
Alex Shirley (10)
Andrew Hoefling (3)
Andrew Nurse (30)
Andy Tryba (1)
Anthony Glenwright (5)
Antonio Chagoury (28)
Ash Prasad (37)
Ben Schmidt (1)
Benjamin Hermann (25)
Benoit Sarton (9)
Beth Firebaugh (12)
Bill Walker (36)
Bob Kruger (5)
Bogdan Litescu (1)
Brian Dukes (2)
Brice Snow (1)
Bruce Chapman (20)
Bryan Andrews (1)
cathal connolly (55)
Charles Nurse (163)
Chris Hammond (213)
Chris Paterra (55)
Clint Patterson (108)
Cuong Dang (21)
Daniel Bartholomew (2)
Daniel Mettler (181)
Daniel Valadas (48)
Dave Buckner (2)
David Poindexter (12)
David Rodriguez (3)
Dennis Shiao (1)
Doug Howell (11)
Erik van Ballegoij (30)
Ernst Peter Tamminga (80)
Francisco Perez Andres (17)
Geoff Barlow (12)
George Alatrash (12)
Gifford Watkins (3)
Gilles Le Pigocher (3)
Ian Robinson (7)
Israel Martinez (17)
Jan Blomquist (2)
Jan Jonas (3)
Jaspreet Bhatia (1)
Jenni Merrifield (6)
Joe Brinkman (274)
John Mitchell (1)
Jon Henning (14)
Jonathan Sheely (4)
Jordan Coopersmith (1)
Joseph Craig (2)
Kan Ma (1)
Keivan Beigi (3)
Kelly Ford (4)
Ken Grierson (10)
Kevin Schreiner (6)
Leigh Pointer (31)
Lorraine Young (60)
Malik Khan (1)
Matt Rutledge (2)
Matthias Schlomann (16)
Mauricio Márquez (5)
Michael Doxsey (7)
Michael Tobisch (3)
Michael Washington (202)
Miguel Gatmaytan (3)
Mike Horton (19)
Mitchel Sellers (40)
Nathan Rover (3)
Navin V Nagiah (14)
Néstor Sánchez (31)
Nik Kalyani (14)
Oliver Hine (1)
Patricio F. Salinas (1)
Patrick Ryan (1)
Peter Donker (54)
Philip Beadle (135)
Philipp Becker (4)
Richard Dumas (22)
Robert J Collins (5)
Roger Selwyn (8)
Ruben Lopez (1)
Ryan Martinez (1)
Sacha Trauwaen (1)
Salar Golestanian (4)
Sanjay Mehrotra (9)
Scott McCulloch (1)
Scott Schlesier (11)
Scott Wilkinson (3)
Scott Willhite (97)
Sebastian Leupold (80)
Shaun Walker (237)
Shawn Mehaffie (17)
Stefan Cullmann (12)
Stefan Kamphuis (12)
Steve Fabian (31)
Steven Fisher (1)
Tony Henrich (3)
Torsten Weggen (3)
Tycho de Waard (4)
Vicenç Masanas (27)
Vincent Nguyen (3)
Vitaly Kozadayev (6)
Will Morgenweck (40)
Will Strohl (180)
William Severance (5)
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out