Create a subscription or domain
To be able to view and create domains, we will have to enter the Subscriptions or Domains option in our Plesk Panel. If we do not have a subscription created, we must first create a subscription, which will be an independent section for this and other domains from any other. To create it, we click on the Add subscription button.
After clicking on this option, we will see a series of fields to create our subscription:
Domain name: the main name that the subscription will have. It will create a domain with the same name within it.
IP address: in case we have several IPs on the server, we can indicate here the IP assigned to this subscription.
Username: the name we want the user to have. This user will be the one who executes processes on the server and an FTP account will be created automatically with this data.
Password and Confirm password: we indicate the password for the user associated with the subscription
Service plan: we indicate the service plan that this subscription will have.
Description: here we can write a small text to describe the subscription, to add informative notes about it...
Depending on the version of Plesk (in this case 17.5) it has several more options to indicate:
Secure with an SSL/TLS Certificate: thanks to the Lets Encrypt extension, we can create an SSL certificate directly for that subscription. If we select this option, the SSL certificate will be created and configured in the domain so that it can be used.
Enable support for Git: if we activate this option, we can create GIT repositories within our domain.
Now that we have created our first subscription, we can manage our hosting. We can also add new domains within the same subscription, create subdomains or domain aliases.
Create subdomain or domain alias
To create a subdomain or domain alias for a specific domain, we must first access the Subscription where that domain is located. Then, on the Websites and Domains screen, the upper buttons indicate Add subdomain and Add domain alias.
Add subdomain: allows us to add a subdomain of any of the domains that are in that subscription. When we click on this, it will indicate some fields to fill in:
Subdomain name: allows us to indicate the name of the subdomain. On the right, it indicates a dropdown to be able to choose, if we have several domains, on which of these to perform the subdomain.
Document root: we indicate the subdomain root. By default, it is created in /subdomain.domain.tld.
Enable support for Git: the same as when creating the subscription, we can give it Git support
Secure the domain with Let's Encrypt: the same as when creating the subscription, we can secure the domain with an SSL certificate generated by Lets Encrypt.