当前位置:Gxlcms > PHP教程 > wampserver配置有关问题

wampserver配置有关问题

时间:2021-07-01 10:21:17 帮助过:4人阅读

wampserver配置问题

ServerAdmin www.mytest.com
DocumentRoot "D:/wwwroot/mytest.com"
ServerName mytest.com
ErrorLog "logs/mytest-host.localhost-error.log"
CustomLog "logs/mytest-host.localhost-access.log" common


这样配置后的网站只是把域名localhost改变成www.mytest.com而已,怎样才能把www.mytest.com变成自己想要的网址啊???
求各位高手帮帮忙!!
hosts也配置了!192.168.16.39 www.mytest.com
不知道哪里配置错了,求帮助!!

------解决方案--------------------
# Virtual hosts
Include conf/extra/httpd-vhosts.conf

人气教程排行