Skip to content

Guides · VPS

Website · domain · HTTPS

Caddy → domain A record → automatic HTTPS.

1. Install Caddy

  • Choose Web server (Caddy) when ordering or reinstalling to install and start it on first boot (Ubuntu · Debian).
  • Path: /root/apps/web (Desktop folder on desktop editions). Install log: /var/log/sjnode-apps.log.
  • Manual installation: Caddy installation docs.

Open http://PUBLIC_IP → look for "웹 서버 작동 중" (web server running).

2. Upload your files

  • Site directory: /root/apps/web/site (home page = index.html).
  • Upload with WinSCP or FileZilla over SFTP (host = public IP · port 22 · root).
  • File changes take effect immediately.

3. Connect a domain

Add A records in your domain's DNS:

NameTypeValue
@ (example.com)APublic IP
wwwAPublic IP

For Cloudflare, start with the gray cloud (DNS only). Propagation takes minutes to hours.

4. Free HTTPS (automatic)

  1. nano /root/apps/web/Caddyfile
  2. Replace the leading :80 with your domain:
    example.com, www.example.com {
    	root * site
    	file_server
    }
  3. systemctl restart web
  4. https://example.com — Caddy obtains and renews the certificate automatically.
  • Ports 80 · 443 must be open (open by default, Firewall).
  • Check errors with journalctl -u web -n 50. Often DNS does not point to the public IP yet.

5. Reverse proxy (Node.js · Python)

If your app listens on port 3000:

example.com {
	reverse_proxy 127.0.0.1:3000
}

Save → systemctl restart web. Keep the app running: systemd.

6. Manage

ActionCommand
Statussystemctl status web
Restartsystemctl restart web
Logsjournalctl -u web -f
Disable automatic startupcd /root/apps/web && ./start.sh --remove-service

All guides VPS plans Contact support