Cloudflare cant connect to LEMP WordPress droplet

Posted February 7, 2018 1.4k views
NginxWordPressLEMPUbuntu 16.04

I have a domain registered through Google Domains at I have a wordpress site installed at that I have successfully installed WordPress. I want to route my site through CloudFlare and have added the CloudFlare NS records to my domain on Google Domains. In cloudflare I have:
A points to
CNAME www is an alias of

but accessing my site, I get a cloudflare error that my server is not responding, when I can access it fine at the ip. Is this a server configuration issue? I followed this guide:

EDIT: CloudFlare shows my status as active.

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.

Submit an Answer
1 answer

I have found out the issue is that my nginx configuration is not listening to port 443.