Caddy web server, installed for you
Caddy is a modern web server that gets and renews HTTPS certificates by itself. With the one-click app it is set up for you: put your files in a folder, link your domain, run one command, and your site is live with a valid certificate. It works for a static site, a portfolio, or as the front door for an app you run on the same server.
Order Nano with Caddy · All one-click apps
How it works
- Order any plan from Nano ($1.00 a month) and choose Caddy web server as the app, or install it later from the App tab.
- Upload your site to
/var/www/html(withscp,rsyncor an SFTP app). Right away it is served on your server's first extra port, so you can check it before your domain is ready. - Link your domain in the client area's Domains tab: point its A record at our address and add the TXT record shown.
- Run
natbox-site add example.comover SSH. Caddy serves your files on that domain on ports 80 and 443 and gets the certificate.
More domains: link each one and run natbox-site add again. natbox-site list shows them, natbox-site remove takes one off.
Beyond static files
- In front of an app: edit the domain's file in
/etc/caddy/sitesto usereverse_proxy localhost:8000, and Caddy handles HTTPS for your Python or Node.js app. - PHP: install
php-fpmand addphp_fastcgi. For WordPress there's a separate one-click app. - Your certificates and keys stay on your server: we pass HTTPS through untouched.
Questions
Do I need a domain?
For HTTPS on ports 80 and 443, yes. Without one, your site is still reachable on your server's own port over plain HTTP, or on IPv6.
How much traffic can it take?
A static site on Nano handles a lot: Caddy is fast and light. The limits are your plan's 100 Mbit/s and monthly traffic allowance.
Can I use Cloudflare in front?
Yes. Link the domain with the cloud grey first, then switch the proxy on; set SSL to Full (strict).
Guides: automatic HTTPS with Caddy, host a website, several websites on one server.