내용으로 건너뛰기

Looking to use a route53 domain with a self hosted nginx instance, having issues with ssh certification and domain use

0

Hi,a while ago I made a static site using a s3 bucket, a domain purchased with route 53 and ssh provided through route 53. I've been trying to reuse this domain in a new site that is selfhosted using nginx, but cant figure out how to link the new domain, what records I should and shouldn't delete. I deleted the lapsed dnssec key, should I delete the entire hosted zone? I'm attempting to use certbot using the command sudo certbot --nginx -d domain.com and am getting the error message :

Invalid response from https://domain.com/.challenge: 403

It's also saying that I need to have the domain point towards the nginx server, I admittedly don't know how to do that... Are there good guides on all of this? I get if y'all flame me for this, but thank you.

1개 답변
0

Hello.

You need to change the A record set in the hosted zone for "domain.com" to the public IP address of your EC2 instance.
I don't think any changes are necessary except for the A record.
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resource-record-sets-editing.html

전문가

답변함 2년 전

전문가

검토됨 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠