1.路径Windows\System32\drivers\etc\hosts
127.0.0.1 www.vue1.com
127.0.0.1 api1.vue1.com
127.0.0.1 admin1.vue1.com
127.0.0.1 uploads1.vue1.com
2.路径wamp64\bin\apache\apache2.4.37\conf\extra\httpd-vhosts.conf
<VirtualHost *:80>
ServerName www.blj.com
ServerAlias www.blj.com
DocumentRoot "C:\wamp64\www\2019blj.hansn.cn (1)\2019blj.hansn.cn\www"
<Directory "C:\wamp64\www\2019blj.hansn.cn (1)\2019blj.hansn.cn\www">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>