首页 >后端开发 >php教程 >wampserver配置有关问题

wampserver配置有关问题

WBOY
WBOY原创
2016-06-13 10:27:23968浏览

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

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn