I have deployed a Node app onto an Amazon EC2 instance.(我已将Node应用程序部署到Amazon EC2实例上。)
I then tried to point my domain to this instance.(然后,我尝试将我的域指向该实例。) I followed the guide at http://docs.aws.amazon.com/gettingstarted/latest/swh/getting-started-configure-route53.html .(我遵循了http://docs.aws.amazon.com/gettingstarted/latest/swh/getting-started-configure-route53.html上的指南。)
I created a hosted zone, entering mydomain.com.(我创建了一个托管区域,输入mydomain.com。)
I then created record sets for the domain and subdomain.(然后,我为域和子域创建记录集。)
When creating the record for the doman, I entered the following details:(在为杜曼创建记录时,我输入了以下详细信息:)
- For Type I choose "A — IPv4 address"(对于类型I,选择“ A-IPv4地址”)
- For Alias I choose "Yes".(对于“别名”,我选择“是”。)
- For Alias Target the guide says "choose your root domain website endpoint from the list (for example, example.com)".(对于Alias Target,指南说:“从列表中选择您的根域网站终结点(例如example.com)”。) However, for me, the dropdown did not have my domain.(但是,对我而言,下拉列表没有我的域名。) It only had "No Targets Available".(它只有“没有可用目标”。) I searched some forums and many people had this issue and the advice was to enter "s3-website-eu-west-1.amazonaws.com" which I did.(我搜索了一些论坛,许多人遇到了这个问题,建议您输入“ s3-website-eu-west-1.amazonaws.com”。)
I did the same for subdomain, again entering "s3-website-eu-west-1.amazonaws.com".(我对子域也一样,再次输入“ s3-website-eu-west-1.amazonaws.com”。)
I then went to the service where I bought the domain name and entered the name servers.(然后,我去了我购买域名并输入名称服务器的服务。)
However, when i go to my URL, I get:(但是,当我转到URL时,会得到:)
Code: NoSuchBucket
Message: The specified bucket does not exist
BucketName: mydomain.com
RequestId: 656B653A2ED5B2B1
HostId: 9etNAX1XEJmbVKUAMylBDz3xEky+7RhAnr9b8HhpkIb9+pkMnn920v/MSAUjr78oyONEUdlba50=
Any Ideas what Im doing wrong?(任何想法我在做什么错?)
ask by Mark translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…