Hi all,
I have apache running on a unix server and i have been looking at the virtual host section in the config file and was wondering what changes i would have to make to my config file and system to add a virtual doman. Is a dns entry required?
i know there is a virtual host directive that is set up as folllows ...
<VirtualHost XXX.XXX.XXX.XXX>
DocumentRoot /home/somebody/www
ServerName somename.com
ServerAlias ServerAdmin username@somename.com
ErrorLog /home/somebody/log/error_log
</VirtualHost>
but is this all i need? also, can i use ..
<VirtualHost hostname XXX.XXX.XXX.XXXort>
<VirtualHost hostnameort>
again, any help appreciated
Jaybot "Always know what you say, but don't always say what you know!"
I have apache running on a unix server and i have been looking at the virtual host section in the config file and was wondering what changes i would have to make to my config file and system to add a virtual doman. Is a dns entry required?
i know there is a virtual host directive that is set up as folllows ...
<VirtualHost XXX.XXX.XXX.XXX>
DocumentRoot /home/somebody/www
ServerName somename.com
ServerAlias ServerAdmin username@somename.com
ErrorLog /home/somebody/log/error_log
</VirtualHost>
but is this all i need? also, can i use ..
<VirtualHost hostname XXX.XXX.XXX.XXXort>
<VirtualHost hostnameort>
again, any help appreciated
Jaybot "Always know what you say, but don't always say what you know!"