Changing custom domains for your Amazon Lightsail distribution
Last updated: July 23, 2020
You can change the custom domains used by your Amazon Lightsail distribution to another domain or set of domains. To do so, you must first create a new SSL/TLS certificate for the domains that you want to use with your distribution. For more information, see Creating SSL/TLS certificates for your Amazon Lightsail distribution. After the new certificate is validated, you swap the old certificate for the new one, thereby changing the custom domains for your distribution.
For more information about distributions, see Creating Amazon Lightsail distributions.
Changing custom domains for your distribution
Complete the following procedure to change the custom domains for your distribution.
Sign in to the Lightsail console.
On the Lightsail home page, choose the Networking tab.
Choose the name of the distribution for which you want to change the custom domains.
Choose the Custom domains tab on your distribution's management page.
Choose Change custom domains and certificate.
Choose the name of the certificate for the new domains, then choose Save.
At the prompt, choose Yes, save to confirm the change.
Your distribution's status changes to In progress, and it takes a few moments for the changes to take effect.
After you change the custom domain of your distribution, you must still edit the DNS records of your new domains to direct traffic to your distribution. For more information, see Pointing your domains to your Amazon Lightsail distributions. You might also want to edit the DNS records of your old domains, because continuing to direct traffic for those domains to your distribution will display an error.
Here are some articles to help you manage distributions in Lightsail: