[plug] Virtual Name Hosts

Tony Clark tclark at telia.com
Sun Aug 13 15:18:03 WST 2000


At 14:43 13/08/00 +0800, you wrote:
>I want to set up a virtual name host for apache (1.3.12).  I have one IP 
>number and two domain names: www.amber.com.au and www.otherdomain.com.
>
>I do the following in the http.conf:
>
>NameVirtualHost my.ip.number
>
><VirtualHost my.ip.number>
>         ServerAdmin root at localhost
>         DocumentRoot /home/httpd/other-domain
>         ServerName www.otherdomain.com
>         ErrorLog /var/log/otherdomain-error_log
>         CustomLog /var/log/otherdomain-access_log common
></VirtualHost>
You got a DNS entry for the Virtual Domain.  You got BindAddress 
my.ip.number and last but not least did you restart apache

tony

Tony Clark
HDL Electronics Pty Ltd
Contract VHDL, FPGA, ASIC and Electronic Design Services
Mobile: +46 702 894 667




More information about the plug mailing list