How To Host Many Websites on 1 WebHost Plan ??

Discussion in 'Web Design and Development' started by fab5freddy, Feb 27, 2009.

  1. fab5freddy macrumors 65816

    fab5freddy

    Joined:
    Jan 21, 2007
    Location:
    Heaven or Hell
    #1
    Does anyone know exactly how to host many different websites
    and web domains on 1 web hosting plan ??

    Meaning, In my one root folder, belonging to me
    how do you have many different domain names and
    websites without the different index.html files conflicting ??

    thanks !
     
  2. redwarrior macrumors 603

    redwarrior

    Joined:
    Apr 7, 2008
    Location:
    in the Dawg house
    #2
    They all reside in a different folder with the domain names pointing to their corresponding folder. Most web hosts handle this pretty well for you.
     
  3. fab5freddy thread starter macrumors 65816

    fab5freddy

    Joined:
    Jan 21, 2007
    Location:
    Heaven or Hell
    #3
    How would i do this physically ?

    Can somebody make a Folder Structure and Screen Shoot it for me ?
    so i can see....
     
  4. redwarrior macrumors 603

    redwarrior

    Joined:
    Apr 7, 2008
    Location:
    in the Dawg house
    #4
    It's kinda hard to take a screen shot, because all providers are different. But when you add your domain name on your account, it will create the folder for you. Have you tried it?
     
  5. fab5freddy thread starter macrumors 65816

    fab5freddy

    Joined:
    Jan 21, 2007
    Location:
    Heaven or Hell
    #5
    Can somebody take a screen shot of their Root Folder
    with many different domain name and websites on One webhost plan ??
     
  6. chilipie macrumors 6502a

    chilipie

    Joined:
    May 8, 2006
    Location:
    Englandshire
    #6
    As red said, it's not really going to be any help because every provider is different. If you let us know what system your webhost is running, someone may be able to help you.
     
  7. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #7
    For what it's worth, take a look here.
     
  8. EmperorDarius macrumors 6502a

    Joined:
    Jan 2, 2009
    #8
    EX:
    You make an index page. On that page, you make three buttons, one for OS X, one for Windows and one For Linux. Once you click one of those buttons, you go to the specific website. It's achieved by making a folder which contains the website.

    So it's gonna be like:

    www.operatingsystems.com/index.php (purely fictional)
    www.operatingsystems.com/osx/index.php
    www.operatingsystems.com/winsucks/index.php
    www.operatingsystems.com/linux/index.php

    Scheme:

    http://photoserver.ws/files/bho42sh66t1jy7cvrjw.png
     
  9. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #9
    That doesn't address the OP's question as it doesn't help for multiple domains. That's just a way to organize multiple sites on a single domain, which may be an option for the OP potentially.
     
  10. millerj123 macrumors 6502a

    Joined:
    Mar 6, 2008
    #10
    I thought your screenshot was pretty good.

    The issue is that the directory structure shouldn't matter, just that the hosting company sets domain1 to /somelocation, domain2 to /differentlocation, etc.

    If they require a particular setup, the OP should use that.
     
  11. notjustjay macrumors 603

    notjustjay

    Joined:
    Sep 19, 2003
    Location:
    Canada, eh?
    #11
    Here's what Dreamhost, my provider, does.

    You buy a hosting package and it comes with your first domain, say iloveblue.com. Then you add two more domains, ihateyellow.com, and greeniscool.com, to your package.

    You log in (via FTP or ssh) to any one of those domains, and you'll see this:

    Code:
    [server]$ ls -l
    total 24
    drwxr-xr-x  2 username pg123456 4096 2008-11-12 09:49 greeniscool.com
    drwxr-xr-x 22 username pg123456 4096 2009-02-23 20:11 ihateyellow.com
    drwxr-xr-x  4 username pg123456 4096 2008-08-15 08:08 iloveblue.com
    dr-xr-x---  5 username dhapache 4096 2008-11-12 09:49 logs
    drwxr-xr-x  2 username pg123456 4096 2008-04-03 12:58 weblogs
    [server]$ 
    Path for your index.php's (and all related files and subdirectories) are all different:

    /home/username/greeniscool.com/index.php
    /home/username/ihateyellow.com/index.php
    /home/username/iloveblue.com/index.php
     

Share This Page