Articles in this section

How to customize Plesk URL

Plesk for Windows kb: how-to Plesk for Linux

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.

Plesk interface
  1. Log in to Plesk.
  2. Go to Tools & Settings > Customize Plesk URL.
  3. Specify the domain that will be used as an entry point to Plesk.

    Note: Domains with hosting type no web hosting cannot be used.

  4. Save the changes.

     


     

Command-line interface
  1. Connect to your Plesk server via SSH (Linux) / RDP (Windows Server).
  2. 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

Was this article helpful?

Comments

4 comments
Date Votes

Please sign in to leave a comment.