Articles in this section

How to access a domain by IP address in Plesk

Plesk for Windows kb: how-to Plesk for Linux ABT: Group B

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

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.

    Set domain here

    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

Was this article helpful?

Comments

2 comments
Date Votes
  • I have just done that and it does not work. Any other setting that I might have missed?

    0
  • Hice ese cambio, pero cada vez que entro en la IP me dirige al inicio de sesión de Plesk a través de los puertos 443 y 80 o simplemente no funciona

    0

Please sign in to leave a comment.