My Apache virtual hosts

I have some domains on a single machine, over a single dynamic DNS connection, that means a single ip, and I need to
show a different page for each domain name it is accessed.
This is the section of my httpd.conf that enables that:
Listen 80
# Listen for virtual host requests on all IP addresses
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /usr/local/apache2/htdocs/ttoes
ServerName www.ttoes.com
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /usr/local/apache2/htdocs
ServerName www.kraftek.com
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /usr/local/apache2/htdocs
ServerName rdircio.no-ip.org
</VirtualHost>

Leave a Reply

Your email address will not be published. Required fields are marked *