Setting up custom domains - AWS Amplify Hosting

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 at the ICANN website.

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 existing code.

  • You have a basic knowledge of domains and DNS terminology.

    For more information about domains and DNS, see Understanding DNS terminology and concepts.