Skip to main content

Manage user domains

Objects in a public bucket can be distributed under your own (custom) domain. A custom domain is added at the bucket level. You can get an object via a custom domain using a link.

You can add custom third-level domains and higher.

You can add domains from external DNS hostings or domains delegated to Servercore DNS hosting.

For all custom domains, you must add TLS (SSL) certificates.

Add a user domain from Servercore DNS hosting

You can add a domain to an existing DNS hosting zone that is delegated to Servercore DNS hosting, or create a new zone while adding the domain.

After adding a domain, a resource record for S3 integration (CNAME record) will be automatically created, pointing to the public bucket domain. A domain can only have one CNAME record. If you already have a CNAME record, it will be used, and no duplicate record will be created.

If the automatically created CNAME record conflicts with other records, you will need to resolve the conflict yourself in your DNS hosting.

  1. Optional: create a new domain zone in DNS hosting.
  2. Add a domain to the bucket.
  3. Add a TLS (SSL) certificate.

1. Optionally: create a new DNS zone

  1. In the Control Panel, from the top menu, click Products and select S3.
  2. Go to the Buckets section.
  3. Open the bucket page → the Domains tab.
  4. In the Custom domains row, click Add.
  5. In the Domain linking section, in the Zone field, select New domain zone.
  6. Enter the name of the domain zone that is parent to your domain. For example, if you are linking the first.example.com domain, the domain zone will be example.com.
  7. Click Add.
  8. Delegate the domain.

2. Add the domain to the bucket

  1. Make sure you have created a domain zone and delegated the domain.

  2. In the Control Panel, from the top menu, click Products and select S3.

  3. Go to the Buckets section.

  4. In the Control Panel, go to S3 → Buckets.

  5. Open the bucket page → the Domains tab.

  6. In the Custom domains row, click Add.

  7. In the Domain linking section:

    7.1. In the Zone field, select a domain zone.

    7.2. In the Bucket address field, enter a subdomain in the domain zone.

    7.3. Click Link.

3. Add a TLS (SSL) certificate

Use the TLS (SSL) certificates for custom domains instructions.

Add a user domain from external DNS hosting

  1. Open the control panel of your DNS hosting.

  2. Create a DNS record and specify:

    • record type — CNAME;
    • record name — the user domain;
    • value — domain for DNS records, depends on the pool where S3 is located.

    A domain can have only one CNAME record.

  3. In the Control Panel, from the top menu, click Products and select S3.

  4. Go to the Buckets section.

  5. Open the bucket page → the Domains tab.

  6. In the Custom domains row, click Add.

  7. In the Domain linking section:

    7.1. In the Zone field, select Domain zone from another DNS hosting.

    7.2. In the Bucket address field, enter the custom domain.

    7.3. Click Link.

  8. Add a TLS (SSL) certificate.

Disable a user domain

A custom domain is disabled when changing the bucket type to private or when deleting the domain.

Delete a user domain

  1. In the Control Panel, from the top menu, click Products and select S3.
  2. Go to the Buckets section.
  3. Open the bucket page → the Domains tab.
  4. In the domain row, click .