DirectAdmin
stillorigin protects sites hosted on DirectAdmin 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 DirectAdmin and sets the origin server's Type to DirectAdmin, which is what the port setting below uses.
DirectAdmin port (2222)
For domains whose origin server is a DirectAdmin server, your clients can keep using https://example.com:2222 to sign in to DirectAdmin 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 DirectAdmin port (2222), and save. The sentries pick it up within about a minute.
- The sentries accept port 2222 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 DirectAdmin's own certificate is what the browser sees. DirectAdmin must be set up to use HTTPS. - Only domains whose origin server's Type on Origins is DirectAdmin are forwarded. Connections for any other name, or straight to a sentry's IP address, are closed.
- A sentry that uses port 2222 for SSH doesn't forward it. If the cluster's Extra allowed ports include 2222, that entry takes priority and the port isn't forwarded by name.
DirectAdmin sees every forwarded login as coming from a sentry's IP address. Before you turn this on, add your sentries' IP addresses to the allow list of DirectAdmin's Brute Force Monitor. Otherwise a few failed logins could lock everyone out.