System Design · Google · Medium
Suggested architecture Put one reverse proxy in front of everything — Nginx, Caddy, HAProxy, or similar — listening on the single public IPv4 address, ports 80 and 443. The three sites can be: static sites served directly by the proxy, or separate applications/processes listening only on localhost ports or Unix sockets. 1. DNS setup For each domain, create an A record pointing to the same public IPv4 address: Also point www where needed: DNS is not enough to separate the…
Checking your access…