Image via WikipediaSo you want to create multiple websites, you have one shared web hosting plan and dozens of domains? In other words, how do you host multiple domains in one web host? Normally, what people do is they buy one web host for each domain which is clearly very expensive! So, now I am going to teach you how to be cheap (lolz) and just use one web host for multiple domains.
First, I would like to say that this is not always a good idea. It is good financially but if you expect a lot of traffic from each of your domains then don’t do this. Either get a dedicated hosting server for your domains or get a shared hosting for each. But if you expect minimal traffic, you could do this technique.
To begin with, I assume you already know and have the following:
- Shared Web Hosting Plan
- Multiple Domain (at least 2)
- Knowledge of FTP or you know how to access your files via the CPANEL
Ok let us be quick and thorough. Here are the instructions:
- Go to your CPANEL and click file manager.
- Go to your root folder (www folder).
- If you have say 2 domains, create 2 subfolders for each domain. That means you would have subfolder for site1 and for site 2.
- Open the .htaccess file in edit mode. If you have none, create one.
- Enter the following code below:
RewriteEngine On
RewriteCond %{HTTP_HOST} site1.com$ [NC]
RewriteCond %{REQUEST_URI} !^/site1/.*$
RewriteRule ^(.*)$ /site1/$1 [L]RewriteEngine On
RewriteCond %{HTTP_HOST} site2.com$ [NC]
RewriteCond %{REQUEST_URI} !^/site2/.*$
RewriteRule ^(.*)$ /site2/$1 [L]
And that’s it! If you are using wordpress, just point your site to your domain name and not the subfolder. When you enter “www.site1.com” in your address bar, it should get redirected to your subfolder but URL would still be “www.site1.com” and not “www.site1.com/site1″.
Let me know if you have any questions.
Make sure to check out the site for more related information about How to Host Multiple Domains in One Web Host .
Related Posts
- Cool But Powerful Free E71 Applications Image via Wikipedia If you have a Nokia E71 phone, more likely than not you are also looking for cool...
- Canon 1D Mark IV Do you want a Canon 1D Mark IV? Well me too! With its stylish looks and high-tech features, who doesn't...
- Visual Quickstart Guide - HTML, XHTML & CSS 6th Edition I recently bought the book Visual Quickstart Guide - HTML, XHTML & CSS 6th Edition to refresh my knowledge on...
- E71 Web Browsers Image via Wikipedia What is your E71 web browser? There are at least 3 E71 web browsers out there. The...
- Conversation with the 13 Year Old Kid Problogger - Carl Ocab Image via Wikipedia I know, I know, I hear you saying he is no longer 13 years old. But hey,...
Related Websites
- Choosing a Domain Name and Web hosting For Your Online Business Choosing a good domain name and a web hosting service is the intelligent part of online business start up. Because...
- 6 Tips to Avoid IRS Penalties, Interest and Filing Fees This Tax Season With Federal and various State tax revenues in decline, the IRS and State tax collectors are not letting any taxpayer...
- How to Relocate your Wordpress Blog to a New Domain Name Making the decision to move my blog from http://www.courseladder.com to http://www.golfballdriver.com was a big one, and a good one, and...
- Web Hosting defined for beginners The web world may lead you into terms like domain names, web hosting and secure certificates. Confused yet? If you...
- Things to Consider while Changing Web Hosts There are a variety of reasons you may be thinking of switching from your current web hosting service provider...
-
enzogames
-
Paolo
-
Juuso
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=5e6fc51a-3acd-4c94-8196-4f93583ef864)

