wampserver配置有关问题

WBOY
Release: 2016-06-13 10:27:23
Original
940 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template