Running multiple websites in a single hosting space
Many small companies having limited budget for website hosting prefer to host multiple websites in a single shared hosting space using domain pointers. The shared hosting plans offered by many web hosts use some third party URL rewriting software or IIS URL rewriting module to segregate one website from the other. Often these techniques require that you keep files of individual website into a folder of its own. This approach goes well with websites using totally different codebase. However, if the websites under consideration are using the same codebase this approach may not be suitable. In such cases you need to take control in your own hands by programmatically handling multiple domains and sub domains. This article illustrates one possible approach to do just that.
This page is protected by copyright laws.
Copying in any form is strictly prohibited.