Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
Why "plesk login" command generates links like "192-0-2-2.plesk.page"?
This can also be seen in /etc/hosts
and /etc/hostname
:
# tail /etc/hosts
203.0.113.2 example.203-0-113-2.plesk.page
Answer
It is a new feature (Technical domain) introduced since Plesk Obsidian 18.0.27. When a cleanly installed Plesk has a non-resolvable hostname, Plesk GUI is not secured with a valid SSL certificate and the user sees a red alert when tries to access Plesk GUI.
Plesk built a technical domain service that issues technical domain names for non-resolvable Plesk hostnames and assigns it to the servers. The technical domain name is secured by Let's Encrypt SSL certificate.
It can be disabled as follows:
By adding this in /usr/local/psa/admin/conf/panel.ini
file:
CONFIG_TEXT: [ext-onboarding]
techDomain = 0
By providing a custom hostname during Plesk installation in CLI like
# plesk installer ... --hostname ''
By adding a new environment variable before Plesk installation:
# export PLESK_CONFIG__techDomain__hostname__enabled=0
Comments
0 comments
Please sign in to leave a comment.