• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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
 
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