Setting up custom domains
You can connect an app that you’ve deployed with Amplify Hosting to a custom domain. When
you use Amplify to deploy your web app, Amplify hosts it for you on the default
amplifyapp.com
domain with a URL such as
https://branch-name.d1m7bkiki6tdw1.amplifyapp.com
. When you connect your app
to a custom domain, users see that your app is hosted on a custom URL, such as
https://www.example.com
.
You can purchase a custom domain through an accredited domain registrar such as Amazon Route 53
or GoDaddy. Route 53 is Amazon’s Domain Name System (DNS) web service. For more information about
using Route 53, see What is Amazon Route 53. For a list of third-party accredited domain registrars,
see the Accredited Registrar
Directory
When you set up your custom domain, you can use the default managed certificate that Amplify provisions for you or you can use your own custom certificate. You can change the certificate in use for the domain at any time. For detailed information about managing certificates, see Using SSL/TLS certificates.
Before you proceed with setting up a custom domain, verify that you have met the following prerequisites.
-
You own a registered domain name.
-
You have a certificate issued by or imported into AWS Certificate Manager.
-
You have deployed your app to Amplify Hosting.
For more information about completing this step, see Getting started with deploying an app to Amplify Hosting.
-
You have a basic knowledge of domains and DNS terminology.
For more information about domains and DNS, see Understanding DNS terminology and concepts.
Topics
- Understanding DNS terminology and concepts
- Using SSL/TLS certificates
- Adding a custom domain managed by Amazon Route 53
- Adding a custom domain managed by a third-party DNS provider
- Updating DNS records for a domain managed by GoDaddy
- Updating the SSL/TLS certificate for a domain
- Managing subdomains
- Setting up wildcard subdomains
- Setting up automatic subdomains for an Amazon Route 53 custom domain
- Troubleshooting custom domains