Running a wordpress site in AWS on EC2 ubuntu server. Using route 53 for domain services. I have done several domain checking tests and everything passes. The one problem I have is that the site takes 20 seconds to load, maybe that is the problem?
These are both the same site on the same server, in typical fashion to have the www subdomain added to the DNS record. In my DNS records they are both pointing to the same IP. And they both work. But I do know there is some kind of issue because the sites load very slow, like 20 or more seconds. So that may point to an issue but I have not found it yet.
barrylee.com and www.barrylee.com both resolve to the same set of IPs (at least from where I'm testing), 126.96.36.199 & 188.8.131.52. barryleeblogs.com and www.barryleeblogs.com both resolve to 184.108.40.206.
So again, which names are you trying to set up, and which server are you running it on?
Further is that barrylee.com and www.barrylee.com are not using Route53
They look to be using some sort of URL Forward or URL Redirect service from some domain name provider. That won't work for HTTPS services so if these are the names you want in your cert you should look at disabling that and using an A record for the public IP instead.
But, the barryleeblogs names do use Route53. So, as @petercooperjr has already asked please clarify which names you want a cert for.
Ok, solved, thank you so much everyone and I feel like an idiot. @rg305 gave me the answer with this sudo apachectl -t -D DUMP_VHOSTS. I did indeed have the wrong name in the conf file. I had started the project with a domain name that I thought was available, but turned out to only be for sale, so I changed it and registered a different name and forgot to go back and change the conf file. What tricked me was the the sites were coming up and working somehow, so I didn't suspect the issue. I ran certbot successfully. Now I just need to figure out why the site is still loading so slow. Thanks again to all.