Limiting to the ServerName in Apache2
- by David
I have 2 sites defined in my Apache2. Each one has a servername.
For example:
Server 1 (first in sites-enabled) responds to www.example.com
Server 2 (second in sites-enabled) responds to www.example2.com
Ok, the problem is when I type the server IP in the URL, the first server responds.
How could I limit the response to only specifying its…