skip to Main Content

I have a vps(Plesk, ubuntu) with one ip. I create a on the IP and several subdomains like and .
Now i wanted to redirect to port 1122 and use this for example. But unfortunately all subdomains redirect then to What i want at the End is : redirect to without changing the url. redirect to without changing the url.

Is that possible?



  1. Chosen as BEST ANSWER

    I got it like just adding this config to the vhost.conf my subdomain(i.e jenkins) or into web server settings in Plesk.

    ProxyPass         /  http://localhost:1122/
    ProxyPassReverse  /  http://localhost:1122/
    ProxyRequests     Off
    ProxyPreserveHost On
    <Proxy http://localhost:1122/*>
       Order deny,allow
       Allow from all

  2. If all subdomains redirect it means that you have set wildcard virtual host. You have to create or modify two virtual host for every subdomain.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top