I wish to present you one thing very strage, discovered on a Centos7 server with Apache
If I go to that area from the identical machine, I am served by the proper virtualhost:
wget http://foo-test.cloud -O - -> Welcome in Foo Check.cloud!
Anyway if I go to a website from the WAN, I am served by the mistaken virtualhost:
wget http://foo-test.cloud -O - -> Welcome in superior.com!
That is what Apache perceive from my configuration recordsdata (the output of
# httpd -S VirtualHost configuration: *:80 is a NameVirtualHost default server ewm-dummy-default port 80 namevhost dummy-default port 80 namevhost superior.com port 80 namevhost foo-test.cloud
As you may see, the unusual half is that the area title is right and that the default web site isn’t one in every of these domains.
What the hell could also be? I am open to no matter suggestion.
- When visiting from localhost the server prints the entry log line
- When visiting from the Web the server DOES NOT print any log line
- I examined with
tcpdumpand I used to be capable of see the incoming requests to port 80 in each instances. Each with the proper
- I see the
httpdcourse of listening to
Additionally, I do not know if it might be associated however this machine is in Microsoft Azure.