after running the below command, in few mins it is getting errored out saying the below message:
Command:
docker-compose -f docker-compose.deploy.yml run --rm certbot /opt/certify-init.sh
Error Message:
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: djangotest.aevolveai.com
Type: dns
Detail: DNS problem: NXDOMAIN looking up A for djangotest.aevolveai.com - check that a DNS record exists for this domain; DNS problem:
NXDOMAIN looking up AAAA for djangotest.aevolveai.com - check that a DNS record exists for this domain
Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot.
Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
Route53 = Amazon. If your domain is hosted by GoDaddy, any chance you're making in the Route53 interface won't be reflected at the GoDaddy interface, so you're making those changes at Route53 for nothing.
I'm not sure why you're managing your domain at Route53 if it's serviced by GoDaddy?
I am actually not sure how this works. I am new to this networking and have no knowledge about this.
I am planning to deploy my django app using docker in aws. Any chance how to fix this?
In theory, it should be possible to have a separate DNS registar and DNS service provider. In your case, currently GoDaddy seems to be both. I think you have a few options, other volunteers may correct or supplement me:
Keep GoDaddy your domain registar, but change DNS service provider to Route53. This is only possible of GoDaddy allows you to set the nameservers in the TLD nameservers to something else than GoDaddys own nameservers;
Transfer your domain to Route53 entirely;
Keep everything at GoDaddy and simply edit your domains DNS zone in the GoDaddy interface.
The first might be possible, but also the most difficult. The last option is the most simple: no changes required, you just need to log in to the GoDaddy interface for DNS changes instead Route53. The second option is also always a possibility, but why would you?
You can always start with option three (edit your DNS zone at GoDaddy instead of Route53) and if that doesn't work out, you can always keep options 1 and 2 in mind. No need to make drastic decisions immediately.