DNS and SSL Configuration Guide
Overview
This guide covers setting up secure access to your OpenWebUI and VMPilot Pipeline services using DNS and SSL certificates. We'll walk through setting up dynamic DNS and configuring Caddy as a reverse proxy with automatic SSL certificate management. This is optional and not only recommended for secure access to your services, it'll make your life easier to not have to deal with browser warnings about insecure connections.
[!CAUTION] While I tried to make this guide somewhat comprehensive, check with Claude or GPT for any additional steps or configurations that might be needed for your specific setup. At the end of the day, you're responsible for your own security.
Dynamic DNS Setup
If you're running these services from a location without a static IP which is often the case with home servers, you'll need to set up dynamic DNS to ensure your domain/subdomain always points to the correct IP address.
- Choose a Dynamic DNS Provider
-
Options include No-IP, DuckDNS, or Cloudflare
-
Register for Dynamic DNS
- Create an account at your chosen provider
- Register your desired subdomain
-
Note down your token/credentials
-
Configure Dynamic DNS Client
-
follow the instructions for your chosen provider
-
Start and Enable the Service
Caddy Server Setup
Caddy is a lightweight web server that can handle automatic SSL certificate management and reverse proxying. We'll use Caddy to set up secure access to OpenWebUI and VMPilot Pipeline.
-
Install Caddy
-
Configure Caddy Create a Caddyfile:
Bash
Basic configuration for OpenWebUI and Pipeline:
Text Only | |
---|---|
- Start and Enable Caddy
DNS Configuration
- Set up A/AAAA Records
- Point your domain/subdomain to your server's IP
-
If using dynamic DNS, this is handled automatically
-
Verify DNS Propagation
Troubleshooting
-
Check Caddy Status
Bash -
View Caddy Logs
Bash -
Verify SSL Certificates
Bash
Next Steps
Once DNS and SSL are configured, proceed to Installation Guide for setting up OpenWebUI and VMPilot.