Skip to main content

Plesk

stillorigin protects sites hosted on Plesk servers in the same way as any other origin server. Add the server on Origins and install the origin agent on it. The origin agent detects Plesk and sets the origin server's Type to Plesk, which is what the port setting below uses.

Plesk port (8443)​

For domains whose origin server is a Plesk server, your clients can keep using https://example.com:8443 to sign in to Plesk after the domain points at your sentries. To turn it on, go to Clusters, edit the cluster, then under SSH and ports tick Forward the Plesk port (8443), and save. The sentries pick it up within about a minute.

  • The sentries accept port 8443 and pass each connection, still encrypted, to the origin server of the domain it's for. That covers the domain itself and its www. name. The sentries don't decrypt it, so Plesk's own certificate is what the browser sees.
  • Only domains whose origin server's Type on Origins is Plesk are forwarded. Connections for any other name, or straight to a sentry's IP address, are closed.
  • Port 8880 (Plesk without HTTPS) isn't forwarded.
  • If the cluster's Extra allowed ports include 8443, that entry takes priority and the port isn't forwarded by name. The same goes for a sentry that uses port 8443 for SSH.
Trust your sentries in Fail2Ban

Plesk sees every forwarded login as coming from a sentry's IP address. Before you turn this on, add your sentries' IP addresses to Plesk's trusted IP addresses (Tools & Settings › IP Address Banning › Trusted IP Addresses). Otherwise a few failed logins could lock everyone out.