• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question Block/Remove Web access (:80/443) of server IP

Ludo

New Pleskian
Server operating system version
CentOS 7.9
Plesk version and microupdate number
Version 18.0.71 #2
Hello,

If i type the IP of my plesk server in web browser, i got the default webpage (httsdoc) :
http(s)://51.x.x.102 > Show default webpage

I want to block / remove that, an idea?
Same for the server name, ex: http(s)://XXXXX733.ip-51-X-X.eu


Best regards
 
Hello, for instance, you can remove this file /var/www/vhosts/default/htdocs/index.html and you will have 403 (Forbidden)
 
Is it possible to block access to ports 80 & 443 for IP/SERVER NAME because this is not PCI COMPLIANT?
 
yes, for instance, you can use the firewall extension
Are you sure about that? If I am not mistaken the Plesk Firewall extension does not support the creation rules in which you can block traffic for a particular destination (i.e hostname) while allowing traffic for others. It's all of nothing.

An alternative might be to create your own custom web server configuration templates. This will allow you modify the Virtual Hosts configuration. I think the configuration for the IP and hostname are created with the template at /usr/local/psa/admin/conf/templates/default/server.php. You can copy this template to the /usr/local/psa/admin/conf/templates/custom directory and modify it for your own use. Make sure to carefully read the documentation first.
 
Back
Top