Site VPN fundamentals

Site VPN Architecture: Private Access for a Website

Learn how a Site VPN combines encrypted device access, narrow routing, private DNS, HTTPS, and a closed web origin.

A Site VPN protects reachability before login

A Site VPN is an encrypted network path for a particular website, application, API, or collection of web tools. An approved phone, laptop, server, or router joins the private network and receives a route to the protected destination. Devices that have not been enrolled cannot establish a normal connection to the private origin. The application may still show a login screen to authorized devices, but the login surface is no longer available to every scanner on the internet.

The phrase describes an architecture, not a proprietary protocol. WireGuard is a common tunnel layer, while OpenVPN, an IPsec system, a managed mesh, or an identity-aware private-access product can serve a similar role. The defining features are limited reachability, encrypted transport, explicit device or user enrollment, and an origin that is not unintentionally exposed through another interface.

SiteVPN.com is an educational publication. It does not issue VPN accounts, operate public exit servers, or promise anonymity. The guides explain how to evaluate and build private access systems you or your organization operate.

Reference architecture

A small deployment usually follows a hub-and-spoke design. Client devices connect to a stable gateway on a Linux VPS. The gateway owns a private VPN address and either serves the protected website locally or routes to a separate origin. The browser opens a private hostname, DNS returns the private address, and the operating system sends that destination through the tunnel. A reverse proxy terminates HTTPS and forwards the request to the web application.

Client plane

Unique device key, private address, endpoint, narrow allowed routes, and a clear profile name.

Review client platforms →

Name and trust plane

Private or split DNS, a certificate strategy, application identity, and role-based authorization.

Plan private web access →

The smallest reliable system has one clear owner for every layer. A VPN key without an owner cannot be reviewed. A private hostname without a documented resolver becomes a support problem. A gateway without a console recovery path can lock out the administrators who need to fix it. Draw the packet path and the responsibility path together.

Addressing and routes should be intentionally small

Reserve a private subnet that is unlikely to overlap common home and office networks. Assign one address per peer and record it with the public key, owner, platform, and review date. For a single private website, advertise a host route or dedicated service subnet rather than every private range behind the gateway. Narrow routes reduce accidental access and make the effect of a configuration easier to explain.

Return routing is as important as the forward route. If the web origin is on another host, it must know how to return packets to the VPN client subnet, or the gateway must translate addresses. Routing preserves client addresses for logs; translation can simplify a small network but hides them. Choose deliberately and test with packet counters, application logs, and an actual browser request.

Private DNS and HTTPS should agree

A friendly hostname is safer and easier than asking users to memorize an IP address. A private resolver can return an internal address only while the client is connected. Split-horizon DNS can return a public landing page outside the VPN and a private application inside it, but the two environments must be visually distinct and consistently configured. Avoid names that collide with home-router search domains.

Use HTTPS over the VPN. TLS gives the browser an independent server identity check and protects the session if traffic is misrouted inside the private network. A domain you control can often obtain a publicly trusted certificate through DNS validation without exposing the origin. A private certificate authority can suit managed devices, but trust installation and revocation become part of the deployment.

Network access and application authorization solve different problems

A peer key proves that a device holds a secret. It does not prove which person is at the keyboard or which actions that person should perform. Retain named application accounts, multifactor authentication where warranted, session controls, audit events, and least-privilege roles. A private LAMP admin panel, payment dashboard, or AI tool can have consequences far beyond the network connection.

For a small low-risk documentation site, device enrollment may be enough. For client data, administrative actions, or shared workstations, add user identity. For a rotating contractor audience, an identity-aware application tunnel may be easier than distributing device profiles. The alternatives comparison maps those tradeoffs without treating one architecture as universal.

Operations checklist

  1. Inventory: every peer, route, hostname, certificate, service, and administrator has an owner.
  2. Exposure: the private web service is not listening on public IPv4, public IPv6, or an alternate port.
  3. Lifecycle: peer creation, delivery, review, rotation, and revocation are documented.
  4. Monitoring: gateway health, tunnel handshakes, DNS, TLS, and application transactions are checked.
  5. Recovery: administrators can rebuild the gateway and restore the origin without first reaching the failed private site.
  6. Negative tests: an unapproved device, revoked peer, wrong hostname, and disconnected client all fail as intended.

Start with one protected resource and a pilot device. A design that survives sleep, network changes, key revocation, certificate renewal, and a gateway restart is ready to expand. A design that works only in the administrator’s current terminal is still a prototype.

Next step

The complete long-form guide, What Is a Site VPN?, develops the threat model and planning sequence in greater depth. The WireGuard page turns the architecture into a practical gateway blueprint.