Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
- How to customize Plesk URL?
- How to make Plesk interface accessible over a hostname without entering the port number? For example, https://plesk.example.com.
Answer
Note: If an existing in Plesk domain is going to be used as an entry point to Plesk, make sure that the option Permanent SEO-safe 301 redirect from HTTP to HTTPS is enabled at Domains > example.com > Hosting Settings and a valid SSL certificate is used. For more information, see this KB article.
- Log in to Plesk.
- Go to Tools & Settings > Customize Plesk URL.
-
Specify the domain that will be used as an entry point to Plesk.
Note: Domains with hosting type no web hosting cannot be used.
-
Save the changes.
- Connect to your Plesk server via SSH (Linux) / RDP (Windows Server).
- Use these commands (on Windows Server, start a command prompt as an Administrator):
-
This command will make Plesk interface accessible at https://server.example.com. If a domain with this name exists in Plesk, its website content will become inaccessible.
# plesk bin admin --enable-access-domain "server.example.com"
-
This command will make Plesk interface accessible on any domain that resolves to Plesk IP address and has no website data and via IP address over HTTPS.
# plesk bin admin --enable-access-domain ""
-
This command disables custom URLs. Plesk will be accessible only over default port 8443 (https://server.example.com:8443).
# plesk bin admin --disable-access-domain
-
Comments
Do I understand correctly that: if I select the second option, I'm still able to login via the main hostname. Correct?
So, if I want to use for example plesk.mycompanyurl.com to login I can just fill in the url and it works? Given that I have a dns a record to point the traffic to the server url.
How do I install ssl/tls certificates for this domain and is the http traffic forced to https?
I think these 3 help articles should be linked together as it appears you need all 3 steps to make it work, yes ? after changing the host name and setting custom url, to then go and issue a new certificate
1) https://support.plesk.com/hc/en-us/articles/12377745012247-How-to-customize-Plesk-URL
2) https://support.plesk.com/hc/en-us/articles/12377750836375--How-to-change-or-get-the-server-hostname-on-Plesk-server
3) https://support.plesk.com/hc/en-us/articles/12377713798039-How-to-secure-a-Plesk-hostname-on-port-8443-with-an-SSL-certificate-Let-s-Encrypt-other-certificate-authorities
Since it seems like you need all three steps to make it work, I believe these three help articles should be linked together. After establishing a custom URL and altering the host name, https://support.plesk.com/hc/en-us/articles/12377713798039-How-to-secure-a-Plesk-hostname-on-port-8443-with-an-SSL-certificate-Let-s-Encrypt-other-certificate-authorities SoFlo Wheelie Life
Fiz o passo a passo sugerido e não consigo acessar
Please sign in to leave a comment.