Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Smart Web Security
  • Getting started
    • All guides
      • Creating a proxy server
      • Creating a domain
      • Setting up the infrastructure
      • Checking resources for availability
    • Address lists
    • Viewing operations
    • Configuring monitoring
    • Setting up alerts
    • Configuring logs via Smart Web Security
    • Configuring logs via Application Load Balancer
    • Migrating to WAF with support for Yandex rules
    • Overview
    • Security profiles
    • WAF
    • ARL (request limit)
    • Rules
    • Conditions
    • Lists
    • Protecting domains
    • Logging
    • Quotas and limits
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  1. Step-by-step guides
  2. Domains
  3. Creating a domain

Adding a domain

Written by
Yandex Cloud
Updated at November 10, 2025

To add a domain you will need:

  • Address of the domain on which the web application is running. You need access to the domain management interface to update the A record.
  • (For HTTPS) Valid private key and TLS certificate for this domain in PEM-encoded format. Certificates with RSA-2048 and RSA-4096 keys are supported.
  • (Optional) Valid private key and TLS certificate to secure the connection between the proxy server and the server hosting your web application.
Management console
  1. In the management console, select the folder.

  2. From the list of services, select Smart Web Security.

  3. In the left-hand panel, select Domain security and select the proxy server you want to add a domain for.

  4. In the left-hand menu, go to the Domains tab and click Add domain.

  5. Enter the address of the domain your web application is in.

    You can add a wildcard domain, e.g., *.example.com. In which case requests to all subdomains of the specified domain will be processed.

  6. Optionally, enter a domain description.

  7. Click Continue.

  8. Specify the protocol for your web application to communicate with its users as well as additional parameters:

    • HTTPS and HTTP: Encrypted HTTPS connection and HTTP support for rare use cases. For example, for a transition period or to support legacy equipment.

      • Optionally, enable Redirect HTTP to HTTPS to send HTTP requests over HTTPS.

      • Optionally, expand the Connection settings section and change the numbers of used ports and the HTTPS version.

        By default, the HTTP/2 version, HTTP port 80, and HTTPS port 443 are used.

    • HTTPS: Encrypted HTTPS connection.

      • Optionally, expand the Connection settings section and change number of the used port and the HTTPS version.

        By default, the HTTP/2 version and HTTPS port 443 are used.

    • HTTP: Unencrypted connection. We recommend using it for test purposes only. You do not need a certificate for this option, but traffic between the user and your application will be transmitted in plain text.

      • Optionally, expand the Connection settings section and change the number of the used port.

        HTTP port 80 is used by default.

  9. If using HTTPS, select a certificate from Certificate Manager issued for the specified domain or click Create and select:

    • Custom certificate: If your web application already has a TLS certificate.

      1. Enter a name and description for the certificate.
      2. Optionally, enable deletion protection to prevent the certificate from being deleted.
      3. Copy or upload the certificate, intermediate certificate chain, and your private key in PEM format.
      4. Click Create certificate.
    • Let's Encrypt certificate: If your web application does not have a TLS certificate.

      1. Enter a name and description for the certificate.

      2. Optionally, enable deletion protection to prevent the certificate from being deleted.

      3. Click Create certificate. The interface will prompt you to create a CNAME resource record in the public DNS zone of your domain. You need this record to verify your domain rights.

        Note

        You can create the record manually or, if your domain is delegated to Yandex Cloud DNS, use this guide to automatically create a resource record.

        Wait until your rights for the domain are confirmed. It usually takes a few minutes to complete the check.

      4. To view the check status, click Show logs.

        After the check status changes to Valid, the certificate will be issued and its status will change to Issued. Until the certificate is issued, you will not be able to proceed with adding the domain.

  10. Click Continue.

  11. Under Target resources, set up the targets:

    1. Enter the server IP address and port your web application runs on.

    2. Optionally, enter a comment for the server.

    3. Optionally, click Add resource to add connections to any additional targets.

    4. Optionally, expand the Connect target resources section to configure additional connection settings:

      • In the Protocol field, select the connection protocol, HTTPS or HTTP.
      • Optionally, if you selected HTTPS and have multiple domain names and certificates, in the SNI field, add a SNI handler to route traffic based on the domain name.
      • If you selected HTTPS, upload the TLS certificate file.
      • Select the protocol version, HTTP/2 or HTTP/1.1.
  12. Click Add domain.

After adding a domain create a security profile and connect it to the domain.

See alsoSee also

  • Creating a proxy server
  • Creating a security profile
  • Setting up the infrastructure
  • Checking resources for availability
  • Connecting a security profile to a resource

Was the article helpful?

Previous
Creating a proxy server
Next
Setting up the infrastructure
© 2025 Direct Cursus Technology L.L.C.