ARR with Multiple application with multiple Ports on both server - iis-8

I have a test environment where I want to install my two applications on IIS.
lets say i install app1 on port 789 and another app app2 on port 790.
i want to install these app in two servers for load balancing using ARR.
Can anyone tell me how this can be done.

Related

How to do a reverse proxy for application behind port and directory?

Hi i've an application of that i hosted in docker, that is an openfire (xmpp) server , the openfire has several feature like web client and located in port localhost:7443/inverse for example
in my server that contain docker I've managed several application to use reverse proxy and working fine, but I cannot do on localhost:7443/inverse to https://webapp.localhost
Please give me some advice how to do it on apache2 webserver

2 vms/apache servers, 2 domains and 1 ip

So I have a server running proxmox with 2 vms (2 local IPs), each vm has apache server running, I need to setup 2 domains (one to each virtual machine) and I can't find a way.
Apache vhost documentation didn't help neither did google.
Any ideas?
Thank you!
You can create a haproxy cluster with one virtual IP and put back your two apache nodes
You can look at Nginx Proxy Manager (NPM) and setup proxy to 2+ (unlimited) local VMs with different domain. NPM supports web UI so it's easier to config.
The best way is create another VM which for setup NPM then you're good to go. Using this for 10+ domain and had no complaint about it.
P/s: I'm not the author of this useful app.

how to interact between two electron apps on different machines

suppose i create a express server and host it at 8080 on my machine-1 then i can access http://machine-1-ip:8080/ from any machine within network
if i wrap this api with electron namely app1 and install on machine 1 and create another electron app namely app2 and install it on machine two. is it possible to make request from machine 2 to machine 1 at http://machine-1-ip:8080 ?
Yes. It's possible if machine two is within the same network.
CORS must be enabled in your express server.(https://expressjs.com/en/resources/middleware/cors.html).
Firewall rules of machine 1 should be configured in a way that it takes request from other machines within the network.

Use Apache virtual hosts to access local servers?

I was wondering if it's possible to use Apache to request websites on a local network, with apache being the gateway so to speak? On my home network I currently have a Windows box running an ASP.NET site, it has to run under Windows/IIS, a server I'm not particularly fond of, but I can live with it... Alongside this I'm thinking about running an Apache server on a separate machine, for my PHP applications, as well as some other applications (e.g. Plex).o
Ideally I'd like to have Apache on port 80, listening for requests, and using the sort of functionality I have with a virtual hosts file to load content from another webserver on my network, that isn't directly accessible through it's own port. I know I could just run PHP under IIS, or move one server to another port, but there's no fun in that!

2 play framework application with single httpd

I have two different applications developed in Play framework. I am trying to launch both the application in a EC2 instance with apache, ProxyPass and ProxyPassReverse setup.
I have to use two different URL and SSL for each application. I could bring one of the application successfully. The other one is creating the problem. I have installed ELB with SSL incase if we need load balance the traffic by creating two replicated EC2 instances.
Kindly suggest a good way to do it. I have to use this for my Production Setup.
Proxypass can be used for one application means ELB to HTTPD then to PLAY this is for 1 application and the second you should redirect the port in ELB like port 4444 to port 5555