Reputation: 981
Currently I am running on an S3 bucket + CloudFront a static website. I have registered outside my domain but currently using it with route 53.
For each domain on Route 53 I have to pay 0,50$ per month (For each new zone, and I want to add a lot of domains).
I would like to use the dns server of my domain provider (Currently inwx.com).
It this possible and how? (For www. and non www. pages)
Upvotes: 4
Views: 6518
Reputation: 1788
Yes, it is possible to use a Cloudfront distribution using a registrar other than AWS without a Route53 public hosted zone. You don't need Cloudflare to do it.
You can create an Alias record with the subdomain and target in your registrar's control panel. The target would be something like dabcxyz.cloudfront.net.
I tried this with success using Namecheap but I'm sure other registrars with similar DNS features can provide the same service.
This way you will not incur the monthly $0.50 charge.
I'm not sure about the the CNAME but I'm able to host subdomains and www's without a public hosted zone.
Upvotes: 5
Reputation: 3365
I faced this situation too and my choice was Cloudflare. It has a free option and it supports CNAME flattening on the apex (so you can effectively CNAME to the CloudFront domain). If you go down this road, you'll need:
I wrote an article on how I configured it.
Upvotes: 2