• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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