3
I have multiple Raspberry Pi at home and I would like to use them as web servers for some of my projects. I'm aware that I could host several sites on one Pi with virtual hosts, but I want just one on each, so they have more resources available and there are more independent.
I' also aware that I could use different ports for each one,but I would like to use port 80 for all of them, so there are accessible to anyone that type the domain.
So the question is, how can I have two or more domains pointing to the same IP address and make the router (or one of the RPi) figure out which website is hosted in which Pi?
Is it possible at all?
Keep in mind that many ISPs explicitly prohibit hosting websites on your home Internet connection in their Terms of Service. At best, they might ask you to stop. At worst, they could force you to pay for a business plan or terminate your service. – Moshe Katz – 2016-11-22T18:29:39.653
Thanks for the heads up! but I already checked it and I can do it – Pablo Lorenzo – 2016-11-22T18:32:37.520
I'll keep the comment there for future visitors anyway. – Moshe Katz – 2016-11-22T18:33:30.573