Multiple websites on one IP address

How to Set Up a Raspberry Pi as a Reverse Proxy for Multiple Domains with SSL A reverse proxy is a powerful way to route traffic for multiple websites hosted on different machines but accessible through a single public IP. In this guide, we’ll configure a Raspberry Pi to act as a reverse proxy, forwarding requests to different internal servers based on the requested domain name and using Let’s Encrypt SSL certificates for secure connections. Use Case Example Domain 1: domain1.com → Hosted on Server 1 ( 192.168.1.75 ) Domain 2: domain2.com → Hosted on Server 2 ( 192.168.1.71 ) Public IP: Same for both domains. The Raspberry Pi will sit between the internet and your internal web servers to manage incoming requests and securely forward them to the correct backend server. Step 1: Prerequisites Raspberry Pi : A Raspberry Pi with Raspbian or Raspberry Pi OS installed. Static internal IP for the Raspberry Pi (e.g., 192.168.1.100 ). Web Servers : Two or more web se...