Hello! There is an Nginx instance on one of my VMs (192.168.56.101) and three (enabled) vhosts: "default" and two further vhosts I created. When I enter the IP in my host browser or "localhost" in my guest browser, in both cases the default page (/usr/share/nginx/html/index.html) is displayed: It works! This is the default web page for this server. The web server software is running but no content has been added, yet. OK. Now I've edited the default page /usr/share/nginx/html/index.html. But I only can see the chages in the guest browser. So, no changes are visible, when access the defalt vhost via IP from the host system. Furthermore I created a simple PHP file index.php <?php phpinfo(); ?> and added it to the default vhost directory (/usr/share/nginx/html). When I access it from the guest (localhost/index.php), it works fine. But when I try it from the host, only a message File not found. is displayed. I only have this issue with the default vhost. The oher two are working fine. What can be the cause? What do I do wrong? thx Posted at Nginx Forum: http://forum.nginx.org/read.php?2,235411,235411#msg-235411
on 2013-01-22 15:19
on 2013-01-22 16:09
EDIT: The same issue occures, when I try to reach the server from the guest but over the domain of the machine (devvm.loc). Posted at Nginx Forum: http://forum.nginx.org/read.php?2,235411,235413#msg-235413
on 2013-01-23 22:01
This issue doesn't appear anymore, since the problem I described in my thread "RegEx VHost name and the default VHost" (http://forum.nginx.org/read.php?2,235490) is resolved (solution: http://forum.nginx.org/read.php?2,235490,235500#msg-235500). Posted at Nginx Forum: http://forum.nginx.org/read.php?2,235411,235506#msg-235506
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.