Noob question about creating websites

DCypher

Senior member
Oct 8, 2004
320
0
0
Ok, so i'm renting some space from 1and1. Lets call my domain www.bob.com. Now, they gave me 3 domains and 1 chunk of webspace. So to keep things organized, I would like to put them into separate folders to keep them organized. For example the path to bob.com would be www.bob.com/domain1 (domain1 refering to the folder that I created). Ok, this is the thing, I would like everyone who wants to get to the domain1 website to only have to type in www.bob.com instead of www.bob.com/domain1, is this possible?
 

DCypher

Senior member
Oct 8, 2004
320
0
0
well, i'm more hopeful now, anyone know how to do this, do i have to do it to my control panel?
 

pcthuglife

Member
May 3, 2005
173
0
0
I'm not familiar with 1and1's web hosting but if it's running apache then you just need to configure the virtual hosting to have to appropriate document roots. document root is the default directory that apache looks to when you go to a web site.

example:
ServerName www.bob.com
DocumentRoot /var/www/domain1

ServerName forum.bob.com
DocumentRoot /var/www/phpBB

ServerName webstats.bob.com
DocumentRoot /var/www/stats
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,499
399
126
May be you should be more clear about what you got. Usually when someone is ?Giving? domains, they do not give Top Level Domain (TLD) like www.bob.com.

If you have only subdomain and Not atleast one TLD there is nothing you can do to make it appear like a TLD.

If you do have a TLD there is not point to have subdomain and rediredt it. You can have folders in the TLD itself.

:sun:

 

thirdlegstump

Banned
Feb 12, 2001
8,713
0
0
Originally posted by: JackMDS
May be you should be more clear about what you got. Usually when someone is ?Giving? domains, they do not give Top Level Domain (TLD) like www.bob.com.

If you have only subdomain and Not atleast one TLD there is nothing you can do to make it appear like a TLD.

If you do have a TLD there is not point to have subdomain and rediredt it. You can have folders in the TLD itself.

:sun:

Actually 1and1 does give you 3 top level domains.

You basically have to create root folders for each domain you want and then in the domain control panel, you point each domain name to the appropriate folder. Really easy. You can always call them up too and they'll provide decent support.
 

DCypher

Senior member
Oct 8, 2004
320
0
0
Thank you so much, I'll try that in about 2 hours when i have some free time, and let you guys know if it worked out. Thanks again.
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,499
399
126
Originally posted by: deathkobaActually 1and1 does give you 3 top level domains.
DCypher glad that you solve your problem.

However check the status of your domain to make sure that it is free and it is yours.

There word Free consists of four simple letters, but it might be Free of any meaning if a string is attached to it.

As an Example:
1 & 1 with certain contract give Free but it mot www.Bob.com but www.Bob.info

With other accounts they might give free 3 domains including bob.com, but it is your domain only if you host with them. I.e. it is not really yours; you lose the Domain if you move to another location.

:sun: