wampserver配置有关问题
程序员文章站
2024-01-29 08:28:16
...
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
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
相关文章
相关视频