Port redirection to same domain on difrent ports (80,443)

Hi
we have client that have 2 web system
let say is domain is xxxyyy[.]com
we have 2 difrent web servers one VPS-1 with ip ex. 111.111.111.111 and other web VPS-2 with ip ex. 222.222.222.222
client ask when user go to http[:]//xxxyyy[.]com (port 80) he will get the web site on VPS-1 with ip ex. 111.111.111.111 and when he ask https[:]//xxxyyy[.]com (port 443) he will get web site on VPS-2 with ip ex. 222.222.222.222
we have Cloudflare waf on the domain
please help how to configure

2 posts were merged into an existing topic: Port 80 to difrent server