1、在C:\Windows\System32\drivers\etc增加
::1 localhost
127.0.0.1 localhost
127.0.0.1 ebooksda.com
::1 localhost
192.168.43.144 windows10.microdone.cn
2、E:\wamp64\bin\apache\apache2.4.51\conf\extra\httpd-vhosts.conf
在apache增加
<VirtualHost *:80>
ServerName ebooksda.com
ServerAlias ebooksda.com
DocumentRoot “${INSTALL_DIR}/www/default/caslib”
<Directory "${INSTALL_DIR}//www/default/caslib">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>