Plesk

How to access a domain by IP address in Plesk

Question

How to access a domain using the IP address instead of the domain name like http://xxx.xxx.xxx.xxx?

Answer

To specify which website will open when users refer to the web resource on your server by an IP address:

  1. Log in to Plesk.

  2. Go to Tools & Settings > IP addresses > <domain_ip>> Default site.
    All sites hosted on this IP address will be listed.

  3. Click the address assigned to the website and select the Default site from the drop-down list, select the required one and click OK.

    Note: The default server page will be shown if the Default site option is set to None. Also, on Windows, the website will only be available via HTTP, but not via HTTPS.

Additionally, it is possible to set the default domain using the command line on Plesk Onyx. Connect to the server via SSH or RDP and execute the following command (substitute example.com with the necessary domain name):

# plesk bin subscription_settings --set-default example.com

Exit mobile version