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

Forward subdomain to a port

ninerian

New Pleskian
Hello,

I have Sentry installed on our second server and want to access it over a subdomain. The main domain is directed to the Server 1, the subdomain should point to server 2 and there to port 9000 where the sentry installation runs.

I use the following installation:

Server 1
sentry.domain.de redirected per DNS to Server 2

Server 2
domain.de only created for the subdomain
sentry.domain.de as webhosting with nginx, actually points to the sentry folder

When I access the sentry subdomain, I get an 403 Forbidden error, cause there is no index.html in the folder. As I changed the forwarding in the nginx.conf manually to the port 9000 for all entries, I get Error 400 Bad Request. And it seems, that the access is catched by the rules in the domain. I also tried to create a location /sentry and forward it to port 9000, but the same error.

Could you help me, how I can achieve the correct forwarding?

Many thanks

Ninerian
 
Back
Top