简体   繁体   中英

How do I link a .app domain with an AWS EC2 instance

Recently, I purchases a domain from google domains namely, neurocognition.app. I initialized an EC2 instance from AWS (Free tier), got an elastic IP. added the A record, with the same elastic IP at the google website. Its been over 2 weeks but the site still won't work

What could be the possible reason? Do I have to setup my instance in a separate manner for HSTS domains. ???

Check your security group, whether it has https port added in route. 安全组下的路由表

So, looking at the dns: https://www.whatsmydns.net/#A/neurocognition.app your domain points to 65.0.156.79 which responds on http, but not https.

http://neurocognition.app redirects to https://neurocognition.app

this could mean one of the following:

  1. your security group does not have port 443 open
  2. your web server does not accept connections on port 443
  3. Network Access Control Layer have been modified to block port 443

I would focus on the first two, which are most likely the issue here.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM