• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is 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.

Setting up domain-based firewall rules

B

Blurry

Guest
Hello,

I have a domain und several subdomains. Rather private data is stored on each subdomain. What I am trying to achieve is the following:

domain.tld - everyone has access
subdomain1.domain.tld - only a few IP addresses have access
subdomain2.domain.tld - only a few IP addresses have access, different from subdomain1
... and so on.

The "firewall" module works well, but apparently it lets me only set up rules for the whole server, not for subdomains. Is there a way to do what I want? Any help is appreciated.
 
I can suggest you only use exclusive IP for each these hostnames with own firewall rules.
 
Thanks for the reply, but how would I even do that? When I set up a new rule, this is everything I see:

plesk_firewall_rulesmptu.png


No possibility to say "This rule only applies to incoming connections on x.x.x.x", so it always counts. Or am I missing something?
 
Back
Top