Page 1 of 1

Multiple servers, different IPs, how-to setup?

Posted: Mon Mar 05, 2018 5:37 pm
by kiltjim
I have two RasPis, each running homeassistant, and owncloud. I have port forwarding from my router running for homeassistant (it was the first one set up), with DynDNS running on the router so that I can access my homeassistant install remotely.

Now, I understand port forwarding, and homeassistant is running fine on RasPi A. This board is running Apache to support that.

I can access homeassistant.[mywebsite].com just fine.

How would I setup remotely accessing RasPi B behind the same router? I would prefer to access it via something like [mywebsite].com/owncloud.

Unfortunately, I would search for this, but I don't even know what it would be called! Folder forwarding? Redirection? I keep thinking there is a way to have traffic funnel through RasPi A, but when traffic comes in looking for the /owncloud folder, it redirects it to the other server. Maybe settings within Apache on RasPi A? If someone knows what it's called, I'll search!

Re: Multiple servers, different IPs, how-to setup?

Posted: Mon Mar 05, 2018 6:07 pm
by topguy
The simplest one would be to use a different port. Port 80 forwarded to one Pi, port 81 ( or 8000 or 8080 etc ) to the other.