简体   繁体   English

如何将 a.app 域与 AWS EC2 实例链接

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

Recently, I purchases a domain from google domains namely, neurocognition.app.最近,我从谷歌域购买了一个域,即neurocognition.app。 I initialized an EC2 instance from AWS (Free tier), got an elastic IP.我从 AWS(免费套餐)初始化了一个 EC2 实例,得到了一个弹性 IP。 added the A record, with the same elastic IP at the google website.添加了 A 记录,在谷歌网站上具有相同的弹性 IP。 Its been over 2 weeks but the site still won't work已经超过 2 周了,但该网站仍然无法正常工作

What could be the possible reason?可能的原因是什么? Do I have to setup my instance in a separate manner for HSTS domains.我是否必须以单独的方式为 HSTS 域设置我的实例。 ??? ???

Check your security group, whether it has https port added in route.检查您的安全组,是否在路由中添加了 https 端口。 安全组下的路由表

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. 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 http://neurocognition.app重定向到https://neurocognition.app

this could mean one of the following:这可能意味着以下之一:

  1. your security group does not have port 443 open您的安全组没有打开端口 443
  2. your web server does not accept connections on port 443您的 web 服务器不接受端口 443 上的连接
  3. Network Access Control Layer have been modified to block port 443网络访问控制层已修改为阻止端口 443

I would focus on the first two, which are most likely the issue here.我将专注于前两个,这很可能是这里的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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