aws-samples/aws-refarch-wordpress

Prevent blog access from its public IP address

laurent-le-graverend opened this issue · 0 comments

The configuration seems to allow access to the website with both the public IP address and the domain name (both has been indexed by Google in my case).

Eg: https://107.XX.XX.XX/ and https://www.example.com will both work.

What should be the correct way to prevent (or redirect) access from the public IP address? It would believe that it's an ELB configuration but I couldn't find it.