Configuring the Multiple Sites feature of mojoPortal on i7MEDIA Hosting
The Multiple Sites feature of mojoPortal allows one to create several logical websites using one codebase, database and IIS website. This can be very beneficial because it is easier to upgrade a single website when a new version of mojoPortal is released and it can cut down on costs associated with hosting. i7MEDIA does warn those who wish to use this feature to think about some consequences as well. Using this feature for personal sites or small business sites that belong to the same business is not an issue. Using this feature for business websites of businesses that are not owned or governed by the same person, or group of people, can pose issues when/if the businesses decides to move their hosting to another server due to performance of one site over the other or to another hosting provider entirely.
There are two options for Multiple Sites, Host Name and Folders. The best method is Host Name and we will show you below how to setup your website for this method.
Important Note: If your hosting plan does not allow multiple domains, you will not be able to create a domain alias. In this situation, you can create a sub-domain, as described in the Managing Sub-Domains and Assigning a Host Header to Your Web Site articles. Once the sub-domain is assigned to your website, you can pick up at Step 5 in the Hosting Multiple Sites Based on Host Name documentation over at mojoPortal.
Creating the Domain Alias
To get started, login to your control panel at http://panel.i7media.net. Once logged in, you will see the Hosting Spaces screen (Figure 1) which lists all of the hosting spaces in your account. Most people will have only one hosting space. In the hosting space you want to work with, click the Domains icon.
In Figure 2, you will see the Domains associated with your hosting space. If the additional domain you want to use with mojoPortal is already listed, you can skip the rest of this section and pick up at “Assigning a Host Header to Your Site.” If the domain isn?t listed, click the “Add Domain” button.
In Figure 3, you will see three options for the new domain; 1) Domain, 2) Sub-domain, and 3) Domain Alias. For the purposes of this instruction, we want to use a “Domain Alias.” Click the “Domain Alias” link. If you want to use a sub-domain, you can skip the rest of this section and pick up at “Assigning a Host Header to Your Site.”
Figure 4 shows how we are going to fill in the form presented on the “Add New Domain” screen. Selecting the “Point to existing Web Site” option will set up the host header automatically for you. If you created the domain alias without selecting this option, see the “Assigning a Host Header to Your Site” section.
At this point you can pick up at Step 5 in the Hosting Multiple Sites Based on Host Name documentation over at mojoPortal.