• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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