Subdomain?

-Paul-

Fully Optimized
Messages
2,242
Ok im running apache on my server, and need to know how to make a subdomain, I dont have a control panel...
 
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?
 
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>
 
Back
Top Bottom