简体   繁体   English

如何在AWS中设置现有域的子域?

[英]How to setup a Subdomain of an existing domain in AWS?

I created an Instance (Windows Server 2016) within AWS and the domain URL amazon gave me as below: 我在AWS内创建了一个实例(Windows Server 2016),域URL亚马逊给了我如下所示:

ec2-10-212-103-15.us-east-2.compute.amazonaws.com

Then, to create a subdomain I went to Route53 ( https://console.aws.amazon.com/route53/home#Dashboard ) Here is the picture of my configurations: 然后,要创建一个子域,我转到Route53( https://console.aws.amazon.com/route53/home#Dashboard ),这是我的配置图片: 在此处输入图片说明

But I still cannot open http://uat.ec2-10-212-103-15.us-east-2.compute.amazonaws.com/ 但是我仍然无法打开http://uat.ec2-10-212-103-15.us-east-2.compute.amazonaws.com/

(Note: The IP is made-up) (注意:IP是虚构的)

What do I need more to do? 我还需要做什么?

Thanks 谢谢

You're getting it wrong. 你弄错了。 Route53 is for custom domains you purchase from any of source (GoDaddy, Amazon, Namecheap naming a few). Route53适用于您从任何来源(GoDaddy,Amazon,Namecheap等)购买的自定义域。

The URL ec2-10-212-103-15.us-east-2.compute.amazonaws.com you've mentioned isn't the domain name. 您提到的URL ec2-10-212-103-15.us-east-2.compute.amazonaws.com不是域名。 It is actually DNS to your server. 它实际上是服务器的DNS。 If your instance is not behind a NAT gateway then you can directly access it through ec2-10-212-103-15.us-east-2.compute.amazonaws.com else you need to place a load balancer with public accessibility or place instance behind an internet gateway. 如果您的实例不在NAT网关后面,则可以通过ec2-10-212-103-15.us-east-2.compute.amazonaws.com直接访问它,否则您需要放置具有公共访问权限的负载平衡器或放置互联网网关后面的实例。

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

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