Computer Forums Subdomain?

 07-07-2006, 09:27 AM #1 Fully Optimized     Join Date: Jun 2005 Posts: 2,242 Subdomain? Ok im running apache on my server, and need to know how to make a subdomain, I dont have a control panel... __________________ __________________
 07-09-2006, 10:30 AM #2 Golden Master   Join Date: Apr 2006 Posts: 7,534 Re: Subdomain? Since you said you don't have a control panel, wouldn't it be easier to download cPanel or something and install it so you can add subdomains? __________________ __________________
 07-12-2006, 05:34 AM #3 Site Team     Join Date: Mar 2004 Posts: 8,070 Re: Subdomain? you can add subdomains in apache by editing the httpd.conf file. at the end of the file there is a space for adding virtual domains you simple have to add a virtual domain, there is information on this in the apache manual, basically at the end of the httpd.conf file al you have to add are the following lines. Code:  ServerName subdomain.mydomain.com ServerAlias subdomain.mydomain.com DocumentRoot path\to\files\on\your\server  __________________ I didn’t fight my way to the top of the food chain to be a vegetarian… Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns. "The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."