I’ve configured discourse on AWS using this guide. Now I’m setting up HTTPS using Let’s Encrypt. When I specify Let’s Encrypt email id in ./discourse-setup, it displays below error
discuss.my_domain_name.com does not resolve to 172.31.x.xx
IT IS ALMOST CERTAINLY A BAD IDEA TO TURN ON LET’S ENCRYPT!!
Unless you know why this check failed, DO NOT USE Let’s Encrypt.
For some reason it is taking the private IP (172.31.x.xx) of the Ec2 instance instead of the public IP of that Ec2 instance. How should I fix it?