开发者

Subdomains on WampServer

开发者 https://www.devze.com 2023-02-16 07:30 出处:网络
I\'m working on WampServer for development, I\'ve set up the domain tuniguide.local It works fine with this configuration:

I'm working on WampServer for development, I've set up the domain tuniguide.local It works fine with this configuration:

DocumentRoot 开发者_运维百科"D:\www\tuniguide"

ServerName tuniguide.local

But when I wanted to add a subdomain fr.tuniguide.local I get a 404 Not Found with this configuration:

DocumentRoot "D:\www\tuniguide\fr"

ServerName fr.tuniguide.local

It gives me this message: The requested URL /www/tuniguide/index.php was not found on this server.

Is there someting that I missed?

Thanks.


You may need to edit your host file on your server machine to have it point the correct domains to your localhost. Check out this in depth tutorial on subdomains for Wamp here: http://www.itutorblog.com/2011/06/how-to-create-a-subdomain-on-wamp/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号