Jim*_*mmy 1 dns amazon-web-services amazon-route53 amazon-lightsail
I have setup a Wordpress on Lightsail, and have created a static IP which I can access WP ok.
I have migrated my .co.uk domain across to Route53 from another provider and am trying to point blog.example.co.uk to my Lightsail instance.
In Lightsail I have setup a DNS record like this:
A example.co.uk 12.34.56.78
A blog.example.co.uk 12.34.56.78
Run Code Online (Sandbox Code Playgroud)
It then lists these DNS servers in Lightsail:
ns-849.awsdns-42.net
ns-1643.awsdns-13.co.uk
ns-341.awsdns-42.com
ns-1516.awsdns-61.org
Run Code Online (Sandbox Code Playgroud)
I've taken those DNS servers and set on the root of my domain in Route 53 under Domains > Registered Domains
I am not sure if that was the correct thing to do, as I will have other subdomains eventually that will point elsewhere, should the Lightsail DNS servers be added at that level? If not, what do I set them back to be?
I have also created a Route53 Hosted Zone, and have created an "A" entry that links blog.example.co.uk to 12.34.56.78, is that required?
正如评论中提到的,我面临着同样的挑战。
\n\n最终对我有用的只是A为我的子域创建一个别名记录 ( ) subdomain.example.com,它指向我的 Lightsail 实例的静态 IP。
我没有在 Route53 上的任何位置添加 Lightsail 的 DNS 服务器。
\n\n我确保NS我的根域 \xe2\x80\x93 example.com\xe2\x80\x93 的条目指向我在 Route53 中注册的域上的名称服务器条目。
您可以通过访问找到与您的 Route53 注册域关联的名称服务器Registered domains > mydomain.com;它们位于右上角。
| 归档时间: |
|
| 查看次数: |
2319 次 |
| 最近记录: |