Create a web resource
-
In the Dashboard, on the top menu, click Products and select Web Resources.
-
Make sure you are in a project where the domain zone you want to create a resource based on has been created.
-
Click Create Web Resource.
-
Select the domain zone on the basis of which you want to create a resource.
-
Press Next.
-
At the Hostnames stage:
6.1.Specify the primary hostname - the primary domain that your site or application will be opened on. By default, the main hostname is the name of the domain zone. The primary hostname cannot be changed after the web resource is created.
6.2.Optionally: add additional hostnames - subdomains, for this purpose in the Additional hostname field click Add and enter the first part of the subdomain name. The list of additional hostnames cannot be changed after the web resource is created.
-
Press Next.
-
In the Sources phase:
8.1. Enter the IP address and port of the source where the domain content resides. The source can be changed, deleted and added after the web resource is created.
8.2 Optionally: add additional sources by clicking Add, enter the IP address and port of the additional source.
-
Press Next.
-
In the Certificate step, add a TLS(SSL)-certificate:
- To issue a Let's Encrypt® certificate for the resource, click Issue a Let's Encrypt certificate for the resource. The certificate will apply to all hostnames of the web resource. After the Let's Encrypt® certificate is issued, the site, service, or application will not automatically open over HTTPS - you must download the new certificate and install it on your web server;
- to select a custom certificate from the secrets manager, click Choose your certificate and select a certificate from the list. The certificate must apply to all hostnames of the web resource, you can view the list of hostnames in the control panel: in the top menu, click Products → Web resources → Web resource page. The selected certificate must be installed on your web server.
-
Press Next.
-
At the Confirmation stage:
12.1 Check the web resource data.
12.2 Click Create Web Resource.
The domain zone will automatically create an A-record for the primary hostname and a separate ALIAS record for each additional hostname. The TTL of the records is 3600 seconds. TTL is the time during which a resource record in the NS server cache is considered up-to-date and does not need to be re-cached.