Say I have the web server 198.51.100.125
in Amazon cloud that I want to scan, which is hosting two domains example.com
and example.org
.
In Nessus, I have configured the targets like so:
198.51.100.125[example.com] 198.51.100.125[example.org]
This is so Nessus can send web requests with host: example.com
and host: example.org
when testing the two sites for vulnerabiliites, instead of scanning the default website. Ditto for SNI when using HTTPS.
However, the Nessus results are showing the web vulnerabilities on the reverse DNS host of 198.51.100.125
, which is http://ec2-198-51-100-125.eu-west-1.compute.amazonaws.com
and https://ec2-198-51-100-125.eu-west-1.compute.amazonaws.com
instead of the http://example.com
, https://example.com
, http://example.org
and https://example.org
sites.
I'm sure I've successfully done this previously, however it is not working this time.
What gives? Is there anything to check in configuration?