I own a website with ip 184.108.40.206. It is a wordpress site hosted on AWS.
I also own a domain name LIGHTHOUZE.com which was purchased thru Godaddy. I had an A record on Godaddy which was pointing to my website ip. The redirect was working fine. There were only two problems with that.
- When it redirected to my website IP, it didn’t mask the IP. I wanted the URL box to show my domain name but it showed the IP.
- My website with IP address worked only with http and not https. And with http it shows “Not secure”.
So I decided to fix that by using Cloudflare. I followed the 5 steps that included switching the DNS servers on my Go-daddy account, downloading Flexible SSL pluging on my wordpress site and turning on “Always use HTTPS” on Cloudflare.
After doing all this, the domain stopped working. You can try it. The website is still working with the IP address mentioned at the top.
So my goals is that when users type my domain they see my wordpress site with domain name in the URL and not the IP. Also, I don’ want my users to see the “Not secure” thingy.
Any insights to get to my goals will be really useful. Thank you for taking time to read this.