You can choose various options to log in to Plesk Obsidian.

By default, you can log in to Plesk via the server IP address, for example: https://192.0.2.1. This default way of logging in requires no additional actions on your part (unless you updated to Plesk Obsidian from previous Plesk versions). However, an IP address in the browser address bar does not look visually appealing (especially for customers and resellers) and may be hard to remember.

In this case, you can customize login URLs. You can log in using:

  • All domains and subdomains that resolve to the server IP address but are not used for hosting. Browsing these domains and the subdomains will open the Plesk login page.

  • One specified domain or subdomain that resolves to the server IP address but is not used for hosting. Browsing this domain or subdomain will open the Plesk login page.

    Note: You cannot use the specified domain or subdomain for hosting websites. To use it for hosting, select another way of logging in or log in via the server IP address.

  • The server IP address or hostname with the specified port 8443. Browsing https://<server-IP-or-hostname>:8443 will open the Plesk login page.

Note: The first two login options do not take away the possibility to log in to Plesk via the server IP address. However, if you choose the third option, you will not be able to log in to Plesk via the server IP address without specifying port 8443.

You can customize the login URL in the Plesk interface or via the CLI.

To customize the Plesk login URL (in the Plesk interface):

  1. Go to Tools & Settings > Customize Plesk URL (under “General Settings”).
  2. Select the desired login option. If you choose to log in using the second option, also specify the domain or subdomain.
  3. Click Save.

The selected way of logging in becomes available to all Plesk users. For example, if you select the second option, you, your customers, and resellers will log in to Plesk by browsing https://example.com or https://plesk.example.com.

To customize the Plesk login URL (via the CLI):

Note: Run the commands described below as root or using sudo (sudo plesk bin ...).

  1. Access the server command line.

  2. Choose your custom login URL:

    • To log in by browsing the domain or subdomain that resolves to the server IP address, run the command of the following pattern:

      plesk bin admin --enable-access-domain <your_domain_or_subdomain_name>
      

      for example

      plesk bin admin --enable-access-domain plesk.example.com
      
    • To log in by browsing https://<server-IP-or-hostname>:8443, run the following command:

      plesk bin admin --disable-access-domain
      
    • To switch back to logging in to Plesk via the server IP address only (without specifying port 8443), run the following command:

      plesk bin admin --enable-access-domain ""
      

Note: You cannot completely disable accessing Plesk via port 8443 in Plesk itself. To do so, block the port in the operating system firewall.

Plesk Obsidian Updated From Earlier Plesk Versions

If you have updated to Plesk Obsidian from an earlier Plesk version, the login option will be automatically selected depending on the following:

  • If you had no domains in Plesk, the following login options are enabled: via the server IP address and by browsing all domains and subdomains that resolve to the server IP address.

  • If you had at least one domain, logging in via https://<server-IP-or-hostname>:8443 is enabled. To log in via the server IP address only (without specifying port 8443), run the following command:

    plesk bin admin --enable-access-domain ""