Droplet not working with custom domain.
I need my wordpress website to be accessible via https from the origin server. Previously it was being accesed via http by CloudFlare but now I’m stopping CloudFlare and want to serve directly from the droplet with https.
I’ve registered a domain with NameCheap.
Pointed the nameservers to DO.
Added the domain in DO.
Added an A record pointing to the droplet.
Added a DO created ssl certificate.
But the website is inaccessible, and if attempts are made to access via the ip address or using http it 301s to the https version for an unknown reason.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×