![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
21 Feb
2021
21 Feb
'21
11:19
On 21/02/2021 10.48, Per Jessen wrote:
Dave Howorth wrote:
Can I know if they are attempting to access the URL by domain name or by IP address? Ie, what do they write exactly on the "browser". Or script.
No, requests are by IP. Their browser or whatever does the lookup. You can have Apache do a reverse lookup to see their domain if you wish.
Maybe for completeness - the servername is indicated in the request, otherwise Apache will not know which virtual host to serve (if it is serving more than one).
It is the case, I have two virtual hosts, one for the LAN and another
for internet. I differentiate them by the port.