-Paul- Fully Optimized Messages 2,242 Jul 7, 2006 #1 Ok im running apache on my server, and need to know how to make a subdomain, I dont have a control panel...
Ok im running apache on my server, and need to know how to make a subdomain, I dont have a control panel...
N ~NeonFire372~ Golden Master Messages 7,536 Jul 9, 2006 #2 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?
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?
root Site Team Staff member Messages 8,185 Location UK Jul 12, 2006 #3 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: <VirtualHost *> ServerName subdomain.mydomain.com ServerAlias subdomain.mydomain.com DocumentRoot path\to\files\on\your\server </VirtualHost>
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: <VirtualHost *> ServerName subdomain.mydomain.com ServerAlias subdomain.mydomain.com DocumentRoot path\to\files\on\your\server </VirtualHost>