1 個回答
- 最新
- 最多得票
- 最多評論
0
Hi.
Lightsail instances do not have domains.
The domain URL entered in Google Search Bar is resolved by querying DNS. (e.g. Lightsail DNS)
In the end, the IP address will point to your Lightsail instance, but that depends on how your DNS server is configured with which instance and what rules.
In short, you configure which instance your domain is bound to in your DNS server.
相關內容
- 已提問 5 個月前
- 已提問 2 年前

Hi,
Thank you for using Lightsail. I am not sure what your intended result needs to be. If you are using 2 instances for the same thing, then you can put them behind a load balancer and set up your DNS records to route to your load balancer, effectively allowing traffic going to your domain to go to either of those instances. If the instances are entirely separate, then you can create 2 DNS records to route to each specifically through unique subdomains. Here are some docs to guide you:
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-create-dns-entry#lightail-add-records-to-the-dns-zone https://lightsail.aws.amazon.com/ls/docs/en_us/articles/add-alias-record-for-lightsail-load-balancer