When I access the website on https://www.sesos.xyz everything works perfectly.
When I access the website on https://sesos.xyz I cannot access the server.
When running sudo certbot certificates it produces this output:
Can you please check if you have entered A address (IP Address) for your root domain?
P.S. Check in your route53.
Just like your wildcard certificate, inputting a wildcard in your route53 DNS doesn’t cover the root domain itself, so you still need to add a entry for your root domain.
I manually inputted txt records. I followed exactly the guide in the link above! In the command for certbot there was also something including dns though?
This means it will not renew automatically, since manual (the plugin) doesn't support renew without any scripts.
However, certbot does have a DNS plugin called route53, which can be found here https://github.com/certbot/certbot/blob/master/certbot-dns-route53/README.md, you can try to follow the links and configure the plugin. Then you might need to reissue / reconfig the certificate to use DNS plugin instead of the manual.