I have a static site (mysite.com
) hosted via Netlify. Netlify currently manages my DNS, so that I have nameservers like so:
dns1.p07.nsone.net
dns2.p07.nsone.net
dns3.p07.nsone.net
dns4.p07.nsone.net
I have a bucket on my S3 named dl.mysite.com
. I want to have it so that when somebody clicks a link such as http://dl.mysite.com/file.pdf
, it grabs it from the S3 bucket.
Within my management dashboard for Netlify, I'm able to create a custom subdomain (dl.mysite.com
), and it directs me to do the following:
Point
dl
CNAME record toobfuscated-url-d6f26e.netlify.com
Log in to the account you have with your DNS provider, and add a CNAME record fordl
pointing toobfuscated-url-d6f26e.netlify.com
.
In the past, when I used AWS exclusively to host the app and manage DNS, this was easily accomplished by just creating an Alias record in Route53 for the subdomain and pointing it to my bucket.
How can I accomplish this now that Route53 doesn't handle my DNS? Is it still possible to point that subdomain at a particular S3 bucket?
.pdf
file stored in an S3 bucket (separating the two). For the sake of URL vanity, I wanted to obscure the s3 endpoint URL hence my original question. According to you & this documentation I found, it seems like I need to add aCNAME
record: docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html Do I still need add'l configuration for SSL certs? – Sailmaker