How to connect your own domain to a bucket
Written by
Updated at November 27, 2023
Scenario description
You need to connect a custom domain to the bucket.
Solution
To connect a custom domain to the bucket, do the following:
- Create a bucket with the domain name.
- Set up the bucket as a host
- Configure DNS: Add a CNAME record
- Add a custom certificate to Yandex Certificate Manager
- Attach the certificate to the bucket to enable HTTPS.
Note
In paragraph 4, you can replace your certificate with a free Let's Encrypt certificate issued with Yandex Certificate Manager.
After successfully completing all the steps, you can access your files via such links: <domain_name>/[filekey]
.