• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Domain served outside of Plesk - how?

hello_world.c

New Pleskian
On a Linux server with Plesk Onyx I need to install a service that runs its own web server including SSL. I need to use the standard port 443. Can I add the domain for it in Plesk but tell Plesk not to handle it but forward it to the local service that handles it? If yes, how?
 
Theoretically (I haven't tried it myself), you can try the following scenario:

- create a docker container with your service with not 443 port
- create Plesk domain without hosting but with forwarding 443 port to port of docker container
 
Thanks for your replies. After much research I have found a different way. In recent versions of Plesk you can disable the nginx always reverse proxying the local Apache server and instead have it reverse proxy another local service. nginx handles the https protocol on port 443, you local server then runs unencrypted on a different port. This is described for example here:
The secret sauce is in the right nginx directives and the configuration of the other service that can't use hard redirects for example.
 
Back
Top