C:\WINDOWS\system32\drivers\etc\hosts
127.0.0.1
www.aberc220.com
别人
192.168.1.64 www.aberc220.com
httpd.conf里配置
NameVirtualHost 127.0.0.1:80<VirtualHost 127.0.0.1:80>
DocumentRoot "D:/xampp/htdocs/aberc220"
ServerName www.aberc220.com
</VirtualHost>
转载于:https://www.cnblogs.com/alex-13/p/3250297.html
相关资源:zencart bohase