而你有三个站点,域名为:www.111.com,www.222.com,www.333.com
相应的网站文件放在主机的:website111;D:website222;D:website333文件夹下
现在打开APACHE配置文件httpd.conf文件,设置不同的域名到不同的目录中:
复制代码 代码如下:
NameVirtualHost 192.168.1.8
documentRoot "D:website111"
ServerName www.111.com
documentRoot "D:website222"
ServerName www.222.com
documentRoot "D:website333"
ServerName www.333.com



