When I initially started hosting my own web site, I had a single domain name: www.imaginaryrealities.com. Since then, I’ve taken advantage of the subdomain support of my hosting provider, WebHost4Life, and I’ve added additional subdomains to my collection such as services.imaginaryrealities.com, downloads.imaginaryrealities.com, media.imaginaryrealities.com, and others. In addition, I’ve started other web sites for other purposes. For example, I host my wife’s classroom website on my account at http://www.mrscollinsclassroom.net. The end result, is that while I started with a single web site, over time I’ve added more.
The traditional model for hosting multiple web sites is that I register the domains or subdomains with the hosting provider, and then I point the domain to a directory on my hosting account where the files for the web site will be hosted from. In the majority of cases, each web site points to a different directory, and a different application. For example, both my blog and my wife’s web site are built using BlogEngine.NET. To accomplish this, I have two copies of BlogEngine.NET installed in two different directories of my hosting account. Twice the space for two web sites. It would be great if, with my new web site engine that I’m building, I could consolidate all of these web sites to a single application installation. This post will show you how I’m thinking of doing this. More...