I just moved from Digital Ocean to AWS. My usual setup procedures for the web server I use for experimentation are not working.
I can reach the site through IPv4 but all domains error out and my SSL certificate doesn't show up when tested on SSL Shopper. DNS appears to be working fine, my firewall is open, SSL certificate installed and NGINX running fine. When all the obvious things are working what do I need to check? Or alternately am I missing something really obvious?
This is my setup.
The IPv4 address brings up the default NGINX welcome screen.
Unfortunately all domains error out,
SSL Labs test
IPs detected correctly on https://www.ssllabs.com/ but in both cases unable to connect to server.
SSL Shopper test
No SSL certificates found on https://www.sslshopper.com/.
Both ports open.
Nginx status: Active: active (running) since Fri 2021-03-05 13:48:16 MST; 2h 33min ago
curl localhost:80 returns 301 redirect which is correct.
Lets Encrypt SSL certificate installed.
Expiry Date: 2021-06-03 18:11:03+00:00 (VALID: 89 days)
In AWS console:
VPC > Your VPCs >
DNS hostnames: Enabled
DNS resolution: Enabled
IPv6 pool: Amazon ✓ Associated
EC2 > Instances >
Instance state: Running
Status check: 2/2 checks passed
Public IPv4 address: 18.104.22.168 (example.com)
Elastic IP addresses: 22.214.171.124 (example.com) [Public IP]
EC2 > Security Groups >
HTTP TCP 80 0.0.0.0/0
HTTPS TCP 443 ::/0
Route 53 > Hosted zones >
example.com A Simple 126.96.36.199
example.com AAAA Simple 2001:0db8:85a3:0000:0000:8a2e:0370:7334
www.example.com A Simple 188.8.131.52
www.example.com AAAA Simple 2001:0db8:85a3:0000:0000:8a2e:0370:7334