🎉 拥抱现代化运维,GoPanel强势来袭! 查看详情 →

Website & domain

Add a site, wire up the reverse proxy and take it live over HTTPS.

Use this when you want to publish an app or static site behind a domain and manage it from the panel.

Add a site

Open Websites (or Sites) and choose Add site. Pick the domain you want to serve and the site type: a static directory, a reverse proxy to a local port, or an app deployed by the panel.

If you manage DNS elsewhere, point an A (or AAAA) record at the server public IP first. The panel can only serve a domain whose DNS already resolves to this machine.

Configure the reverse proxy

For an app that listens on a local port (for example 3000), choose reverse proxy, set the upstream to 127.0.0.1:3000 and save. The panel writes the web-server config for you.

Keep the upstream bound to loopback unless the app must be exposed directly; the proxy should be the single public entry.

config
upstream: http://127.0.0.1:3000

Enable HTTPS

Open the site HTTPS tab, request a certificate for the domain and enable automatic renewal. See the SSL certificate guide for validation methods and troubleshooting.

Force the HTTPS redirect so plaintext requests upgrade to TLS.

Verify the launch

Check, in order: DNS resolves to the right IP, the app process is listening on the upstream port, the certificate chain is valid, and the access log shows 200 rather than 502/404.