点域名AWS EC2实例实例、域名、AWS

2023-09-11 11:28:45 作者:Je t'aime 我爱你

我有tmdhosting.com注册的域名。我创建了关于使用汇出字preSS多点堆栈AWS一个字preSS多站点设置。

I have a domain name registered with tmdhosting.com. And I have created a WordPress multisite setup on AWS using bitnami WordPress multisite stack.

现在我想从我的注册点我的域名给我的AWS实例。当他们要求我为他们提供一个NS。我是新来的AWS,我不知道是如何去这样做。

Now I would like to point my domain name from my registrar to my AWS instance. Where they are asking me to provide them with a NS. I am new to AWS and I am not sure as to how to go about doing this.

也做了研究一点点的地方说,我需要一个路线53(这是不是免费的)我想知道是否有另一种方式来做到这一点。

Also did a little bit of research where it said that I will need a Route 53 (which is not free) I would want to know if there is another way to do this.

我可以使用CloudFront的做到这一点与我的previous供应商给了我一个CloudFlare的名称服务器。

Can I use CloudFront to do this as with my previous provider had given me a cloudflare name server.

请让我知道的步骤,如何去这样做。

Please let me know the steps as to how to go about doing this.

推荐答案

要指向域名一个EC2实例,您可以使用路由53或您自己的DNS服务。在这两种情况下:

To point a Domain Name to an EC2 instance, you can either use Route 53 or your own DNS service. In both cases:

在指定的弹性IP地址以您的EC2实例 在路线53或您自己的DNS服务,定义域/子域名指向这个IP地址 Assign an Elastic IP address to your EC2 instance In Route 53 or your own DNS service, define a domain/subdomain that points to this IP address

以上假设您想指向一个EC2实例。如果你有在前面负载平衡器的多个实例,您将需要一个CNAME记录指向负载均衡器的DNS名称。 (如果使用路由53,使用别名按钮,指向负载平衡器。)

The above assumes that you wish to point to a single EC2 instance. If you have multiple instances with a Load Balancer in front, you will require a CNAME record pointing to the DNS name of the Load Balancer. (If using Route 53, using the "ALIAS" button to point to a Load Balancer.)

53路是不是免费的,但它是非常便宜。如果正确地配置为指向AWS资源,它可以为每个托管区域的成本只有50℃/月。

Route 53 is not free, but it is very cheap. If correctly configured to point to AWS resources, it can cost only 50c/month per hosted zone.

CloudFront的是缓存Web内容,内容分发网络。它不会帮助你分配一个域名,以一个EC2实例。 (自定义域名的可以的与CloudFront的使用,但这并不似乎是特定的问题。)

CloudFront is a content distribution network that caches web content. It will not assist you in assigning a Domain Name to an EC2 instance. (Custom domain names can be used with CloudFront, but that doesn't appear to be your particular question.)