配置局域网虚拟域名:
D:\soft\wamp55\bin\apache\Apache2.4.4\conf\extra\httpd-vhosts.conf
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot “D:/soft/wamp55/www/ycsd_m_1102/”
ServerName ycsd_m_1102.ljzhou.com
ServerAlias ycsd_m_1102.ljzhou.com
ErrorLog “logs/ljzhou-ycsd_m_1102-error.log”
CustomLog “logs/ljzhou-ycsd_m_1102.com-access.log” common
</VirtualHost>
ip映射:
C:\Windows\System32\drivers\etc\hosts
127.0.0.1 yqsd_1103.ljzhou.com