apache下的vhosts文件修改
<VirtualHost *:80> ServerAdmin test.jkxt.com //域名 DocumentRoot "D:/xampp/htdocs/jkxt" //项目地址 ServerName test.jkxt.com ErrorLog "logs/dummy-host2.example.com-error.log" CustomLog "logs/dummy-host2.example.com-access.log" common </VirtualHost>
修改c盘下system32/drivers/etc/htocs
# localhost name resolution is handled within DNS itself. 127.0.0.1 test.jkxt.com # ::1 localhost
时间: 2024-10-25 13:15:34