Skip to main content
Manage user domains
Last update:

Manage user domains

Objects in a public container can be distributed under the guise of their (user) domain. The user domain is added at the container level.Get object through a custom domain can be accessed by clicking here.

You can add custom third-level domains and above.

You can add domains from external DNS hosts or domains delegated to the Selectel DNS hosting.

For all user domains it is necessary to add TLS (SSL) certificates.

Add a custom domain from Selectel DNS hosting

You can add a domain to an existing DNS hosting domain zone that is delegated to Selectel DNS hosting, or create a new zone during the domain addition process.

Once the domain is added, a resource record for communication with the object store (CNAME record) will be automatically created, pointing to the public domain of the container. A domain can only have one CNAME record. If you already have a CNAME record, it will be applied, no duplicate record will be created.

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

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

optional: create a new domain zone

  1. In control panels go to Object StorageContainers.
  2. Open the container page → tab Domains.
  3. On the line Your domains click Add.
  4. In the block Domain Binding in the field Zone select New domain zone.
  5. Enter the name of the domain zone that is the parent zone for your domain. For example, if you are binding a domain first.example.comand the domain zone will be example.com.
  6. Click Add.
  7. Delegate domain management.

Add a domain to the container

  1. Make sure you have domain zone has been created and delegated domain management.

  2. In control panels go to Object StorageContainers.

  3. Open the container page → tab Domains.

  4. On the line Your domains click Add.

  5. In the block Domain Binding:

    5.1 In the field Zone select a domain zone.

    5.2 In the field Container address enter a subdomain in the domain zone.

    5.3. Press Bind.

Add a TLS (SSL) certificate

Use the instructions TLS (SSL) Certificates.

Add custom domain from external DNS hosting

  1. Open your DNS hosting control panel.

  2. Create a DNS record and specify:

    • record type — CNAME;
    • record name — user domain;
    • value — access.<pool>.storage.selcloud.ruwhere <pool> — pool, where the object store is located — for example, ru-1.

    A domain can have only one CNAME record.

  3. In control panels go to Object StorageContainers.

  4. Open the container page → tab Domains.

  5. On the line Your domains click Add.

  6. In the block Domain Binding:

    6.1 In the field Zone select Domain zone from another DNS hosting service.

    6.2 In the field Container address enter a custom domain.

    6.3. Press Bind.

  7. Add a TLS (SSL) certificate.

Disable custom domain

The user domain is disabled when the container type is changed to private or when the domain deletion.

Delete custom domain

  1. In control panels go to Object StorageContainers.
  2. Open the container page → tab Domains.
  3. In the domain line, click .