Hello Apache Friends Support,
I was wondering if I could get some quick help on a redirection matter.
I have two servers in my network, internal ip addresses are
192.168.1.9 (XAMPP) runs Wordpress
192.168.1.6 (Ubuntu) runs Wordpress
I have a URL (mysite.ca) that resolves to my outside static ip address with only port 80 open, and this cannot be modified (meaning I cannot get traffic through any other port).
Any one of the servers can be accessed online if I forward port 80 to one of the internal addresses and accessible locally by any computer in the network.
What I want is to be able to access any of the Wordpresses through mysite.ca
I've checked online and thought of some solutions but I've come to no good conclusion and I would like some advice.
What I've tried is modifying vhost and my host file, adding proxypass/reverse proxy but I generally want traffic to communicate through the computer that's running XAMPP first.
For example,
mysite.ca/wordpress -> XAMPP server
mysite.ca -> Ubuntu server
*Please note that traffic goes through the XAMPP computer first, but should connect to the Ubuntu server, and only mysite.ca/wordpress should go to the XAMPP server.
And I don't mind a quick messy configuration setup or any unnecessary rerouting... as long as it works I'm ok!
Thanks, any help would be greatly appreciated!
*Edit: If it's easier to just forward traffic to the Ubuntu server first and then reroute from there, then that solution would be ok too.