xampp 本機設置虛擬域名zby.com

設置hosts:進入C:\Windows\System32\drivers\etc,打開hosts文件,添加 127.0.0.1 zby.com 打開D:/xampp/apache/conf/extra打開http-vhosts.conf文件,設置 DocumentRoot 「D:/xampp/htdocs/」 ServerName zby.com 重啓xampp即可
相關文章
相關標籤/搜索