Post Pin

How to Host Multiple Domains in One Web Host

  [3]
  Get Updates by Email or by RSS feed
WWW's Image via Wikipedia

So 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:

  1. Go to your CPANEL and click file manager.
  2. Go to your root folder (www folder).
  3. If you have say 2 domains, create 2 subfolders for each domain. That means you would have subfolder for site1 and for site 2.
  4. Open the .htaccess file in edit mode. If you have none, create one.
  5. Enter the following code below:
  6. 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.

Reblog this post [with Zemanta]

Make sure to check out the site for more related information about How to Host Multiple Domains in One Web Host .

Please link to me
If you find this post useful, please show your support by linking to this article. Simply copy and past the text below into your blog/website :

__ 
Blog Traffic Exchange

Related Posts

Blog Traffic Exchange

Related Websites

  • Domains 101 With out a domain brand, websites tend to be specified by simply an IP address. What is an IP target?...
  • Astrology.com Astrology.com is the Internet's most popular astrology destination. Offering a hands-on approach to understanding astrology, our website focuses on moving...
  • Semi-Dedicated Web Hosting, The Benefits Plus Uses Internet hosting is a wonderful method to build your personal and also business website recognized and accessible with the World...
  • The Imaginative IT Web Designs Excellent Creative Website Design, Graphic Design, Emblem design, banners design, Make Website from Ready flash template, Make Newer Flash website,...
  • Dreamhost Promo Code For November 2011 with Free Domain Here is the Dreamhost promo code for this month November 2011. You all know Dreamhost is one of the famous...
  • http://www.greenerwebhosting.com/ Juuso

    Hi,

    You can find more information on hosting multiple domains on a single web hosting account from: http://www.hostingmultipledomainnames.com

  • Anonymous

    It would be nice if you could use multiple domain and one wordpress account, type in site1.com you content for site1, type in site2.com and get site2 content. I guess I just dreaming.

  • http://www.phawville.com/blog Paolo

    I don’t quite get what you mean. Could you please elaborate?