• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Trying to host domain under "proxy"

dopeboy

Basic Pleskian
so my domain test.ex.nl is pointed to server 1.1.1.1 (static ip) just nginx installed! no plesk.
and there's a simple nginx conf file

Code:
root@ded1:/nginx/sites# cat test
server {
        listen 80;
        server_name test.ex.nl;


        location / {
         proxy_pass http://whost;
         proxy_http_version 1.1;
         proxy_set_header Upgrade $http_upgrade;
         proxy_set_header Connection $connection_upgrade;
        }


        location /status {
         vhost_traffic_status_display;
         vhost_traffic_status_display_format html;
        }
}
root@ded1:/nginx/sites# cat /etc/nginx/nginx.conf
http {
    ....
    upstream ucs {
    server 192.168.122.15;
    }

    upstream ghub {
    server 192.168.122.101;
    }
    upstream ludaking {
    server 192.168.122.101:6666;
    }

    #PLESK SERVER IP 2.2.2.2 
    upstream whost {
    server 2.2.2.2;
    }
    ....
}

and my plesk panel is running in a server with ip 2.2.2.2 (static ip) (isn't create from my node like ucs or ghub)
so now i've add domain test.ex.nl on plesk panel but when i visit it i see default page
45f5d23b7b8f40ada199b59d6fdbc0ec.png


is needed to put any port at my upstream conf like 2.2.2.2:7080 ?! i tried but didn't work also i tried :8080 :7081 but didn't work.

can i host a domain like this or not?! i just want to know if there's a direct way not to edit vhost file for domain test.ex.nl and to run it in a different port then to forward ports from server 1.1.1.1.
just i'm searching for a direct way without touching vhost's files and to set a custom port for it :/

Thanks!
 
Back
Top