I use Cloudflare to generate SSL and AWS Amplify to host the project. I would like to configure Cloudflare to point to AWS Amplify project.
These are the current DNS records, which points to the current server.
This is the project URL and the URL where is project deployed on AWS Amplify.
I tried to changed DNS records to point website to AWS Amplify project, but it doesn’t work.
Sign in to the AWS Management Console and open the Amplify console . Choose your app that you want to add a custom domain to. In the navigation pane, choose App Settings, Domain management. On the Domain management page, choose Add domain.
Cloudflare with AWSCloudflare integrates quickly and easily with AWS. Host your websites and run applications on AWS while keeping them secure, fast, and reliable. Use Cloudflare as a unified control plane for consistent security policies, faster performance, and load balancing for your AWS S3 or EC2 deployment.
You can connect a custom domain to an app that you've deployed with Amplify Hosting. You can purchase a custom domain through a domain registrar such as Amazon Route 53, GoDaddy, or Google Domains. Route 53 is Amazon's Domain Name System (DNS) web service.
Follow the steps as mentioned in this link, but remove from Proxied
to DNS only
. You can achieve it by clicking on the yellow cloud icon.
For your AWS Amplify Domain, you do not need to use Proxied, as it's already secure connection (https://master.DIGITS.amplify.com)
Before you add your subdomain entry in your DNS you also need to add an entry in your DNS to verify the ownership of the domain
After you have done the above step, you can get the DNS record name like this:
you need to add this entry in your DNS like this:
I hope this helps anyone looking for it, I found it hard myself as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With