I have a wordpress website hosted on AWS Lightsail. I added an A record to my DNS pointing my custom domain to the static ip of the Lightsail instance.
But, I don't want the website to be accessible via the static ip, only via my custom domain.
How can I block access to the static ip?
Thanks!