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:
-
Log in to Plesk.
-
Go to Tools & Settings > IP addresses >
<domain_ip>
> Default site.
All sites hosted on this IP address will be listed. -
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 toNone
. 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
Comments
2 comments
I have just done that and it does not work. Any other setting that I might have missed?
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
Please sign in to leave a comment.