Web Hosting Talk







View Full Version : Setting up name.mydomain.com


archangel777
06-04-2002, 07:29 PM
Anyone know a good tutorial on setting up name.mydomain.com on Apache?

allan
06-04-2002, 07:54 PM
It works the same way as setting up any other virtual host, just add something like the following to the httpd.conf file:


<VirtualHost xxx.xxx.xxx.xxx>
DocumentRoot /home/username/httpd/
ServerName name.mydomain.com
ServerAlias othernamename.mydomain.com
...
...
...
...
</VirtualHost>

CagedTornado
06-05-2002, 03:15 AM
The best tutorial I've seen so far is actually on the Apache site, and it's located at http://httpd.apache.org/docs/vhosts/index.html

Dan