Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Object Storage
    • All guides
      • Setting up hosting
      • Supporting your own domain
      • Configuring HTTPS
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Bucket logs
  • Release notes
  • FAQ
  1. Step-by-step guides
  2. Hosting static websites
  3. Supporting your own domain

Supporting your own domain

Written by
Yandex Cloud
Improved by
Tania L.
Updated at October 16, 2026
View as Markdown

You can use a custom domain, e.g., example.com, to publish your website.

To use a custom domain:

  1. Create a bucket.

    Warning

    The bucket name must be an exact match of your domain, e.g., example.com.

  2. Configure the bucket as hosting.

  3. On the DNS server, create a public DNS zone and a resource record to link your domain name to the bucket.

    This option is available for buckets with a dot in their name, e.g., example.com.

    Yandex Cloud DNS
    Third-party DNS server

    Warning

    Cloud DNS is a billable service; for more information, see Cloud DNS pricing policy.

    1. In the management console, select a folder.

    2. Navigate to Object Storage.

    3. Select the bucket you want to use your own domain for.

    4. Navigate to the Settings tab, then to Website.

    5. Select the Hosting mode and click Create record under Domains in Cloud DNS.

      Note

      The Domains in Cloud DNS section in the Hosting mode settings only displays domains created via this interface. Records created in Cloud DNS will not be shown.

    6. In the window that opens, click Create zone and select the domain zone that matches the bucket name, e.g., example.com.. Click Create.

    7. Expand Additional settings.

    8. In the TTL (in seconds) field, specify the resource record time to live or select a value from the list.

    9. Click Create.

    10. Click Save.

    To gain access to public zone domain names, delegate the domain by specifying the ns1.yandexcloud.net and ns2.yandexcloud.net server addresses in your domain registrar account.

    Delegating a domain and updating resource records may take a while.

    You can also use Cloud DNSto create a DNS zone and resource record.

    Example of DNS zone and resource record parameters

    DNS zone parameters:

    • Zone: example.com.
    • Type: Public

    Resource record parameters:

    Name Type TTL Value
    example.com. ANAME 600 example.com.website.yandexcloud.net

    ANAME records enable using second-level domains for hosting. Unlike CNAME records, they do not restrict the use of other record types in the same zone.

    Here is an example of DNS zone parameters:

    • Zone: example.com.
    • Type: Public

    An example of a CNAME resource record looks like this:

    example.com CNAME example.com.website.yandexcloud.net
    

    To use a CNAME resource record, make sure your domain name belongs to at least a third-level domain. This restriction is due to the way CNAME records are handled on DNS hosting platforms. For details, see RFC 1912, section 2.4.

    Updating resource records may take a while.

  4. To make your website available over HTTPS:

    1. (Optional) Add your own certificate to Certificate Manager or issue a free-of-charge Let's Encrypt certificate.

      Note

      Certificate Manager is free of charge; for more information, see Yandex Certificate Manager pricing policy.

    2. Configure HTTPS by linking a Certificate Manager certificate to your bucket or uploading your own.

    Request redirects from HTTP to HTTPS are enabled automatically once you set up HTTPS access to a bucket. No other settings are required.

    Alert

    Starting August 1, 2025, Object Storage no longer supports the TLS protocol versions 1.0 and 1.1.

    For more information, see TLS protocol.

Once you successfully complete all the steps, you will have access to objects via links in <domain_name>/<object_key> format.

Useful linksUseful links

  • How do I fix an incorrect MIME type of objects when uploading them to a bucket?
  • Setting up hosting
  • Setting up support for multiple domain names
  • Configuring HTTPS

Was the article helpful?

Previous
Setting up hosting
Next
Overview
© 2026 Direct Cursus Technology L.L.C.