• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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