Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

fab5freddy

macrumors 65816
Original poster
Jan 21, 2007
1,206
7
Heaven or Hell
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 !
 

redwarrior

macrumors 603
Apr 7, 2008
5,573
4
in the Dawg house
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?
 

fab5freddy

macrumors 65816
Original poster
Jan 21, 2007
1,206
7
Heaven or Hell
Can somebody take a screen shot of their Root Folder
with many different domain name and websites on One webhost plan ??
 

chilipie

macrumors 6502a
May 8, 2006
983
1
Englandshire
Can somebody take a screen shot of their Root Folder
with many different domain name and websites on One webhost plan ??

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.
 

EmperorDarius

macrumors 6502a
Jan 2, 2009
687
0
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:

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

Scheme:

http://photoserver.ws/files/bho42sh66t1jy7cvrjw.png
 

angelwatt

Moderator emeritus
Aug 16, 2005
7,852
9
USA
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.

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.
 

millerj123

macrumors 68030
Mar 6, 2008
2,578
2,571
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.

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.
 

notjustjay

macrumors 603
Sep 19, 2003
6,056
167
Canada, eh?
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.