🚀 Cloud or Self-Hosted — Your Choice

Custom Domains for Your SaaS

Give your customers branded subdomains with automatic HTTPS. Like Cloudflare for SaaS, but free and open source.

Start Free on Cloud Self-Host →

Choose Your Deployment

Use our managed cloud for instant setup, or self-host for complete control. Same powerful features either way.

🏠 Self-Hosted

$0 open source
MIT License — do whatever you want
  • Full source code access
  • Run on your own infrastructure
  • Complete data ownership
  • Customize everything
  • Docker Compose ready
  • Community support
View on GitHub

Everything You Need

Built specifically for multi-tenant SaaS applications

🔒

Automatic HTTPS

TLS certificates provisioned automatically via Let's Encrypt. Zero configuration needed.

On-Demand TLS

Certificates issued on first request. No waiting, no manual provisioning.

🎯

Simple REST API

One API call to register a subdomain. Perfect for automation and AI coding tools.

🌐

Multi-Tenant Ready

Built for SaaS. Each customer gets their own branded subdomain.

🤖

AI-Friendly

Integration guide designed for Lovable, Cursor, and other AI coding assistants.

🔓

Open Source

MIT licensed. Inspect the code, contribute, or fork it for your own needs.

DomainProxy vs Alternatives

Feature Cloudflare for SaaS Custom Nginx DomainProxy
Automatic TLS Manual
On-Demand Certificates
Simple API
Self-Hostable
Pricing $2/hostname/mo Server costs Free
Setup Time Days (contract) Hours 30 seconds
AI Integration Guide

How It Works

Get custom domains working in 4 simple steps

Get your API key

Sign up in the admin panel and get your API key instantly. No credit card, no waiting.

Register subdomains via API

POST /api/v1/register-subdomain with subdomain, base_domain, and target_url.

Customer sets up DNS

They add a CNAME record: subdomain.theirdomain.com → proxy.froste.eu

Done! HTTPS works automatically

On first visit, we provision a Let's Encrypt certificate. No action needed.

🤖 Built for Vibe Coders

Building with Lovable, Cursor, or another AI tool? Just point your AI at our integration guide:

Read this guide and implement custom domains for my SaaS:
https://proxy.froste.eu/api/v1/integration-guide

View Integration Guide

🏠 Self-Hosting Made Easy

Want complete control? Deploy DomainProxy on your own infrastructure in minutes.

# Clone and run with Docker
git clone https://github.com/magnusfroste/domainproxy.git
cd domainproxy
cp .env.example .env
docker compose up -d

# That's it! Access at http://localhost:3000
🐳

Docker Ready

One command deploy

📦

Caddy Included

Auto TLS built-in

💾

SQLite Storage

No database setup

🔧

Fully Customizable

MIT licensed

Quick Example

# 1. Create a tenant for your customer's domain
curl -X POST https://proxy.froste.eu/api/v1/create-tenant \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"base_domain": "lazyjobs.ink"}'

# 2. Register a subdomain
curl -X POST https://proxy.froste.eu/api/v1/register-subdomain \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "subdomain": "career",
    "base_domain": "lazyjobs.ink",
    "target_url": "https://your-app.lovable.app"
  }'

# 3. Customer adds DNS: career.lazyjobs.ink CNAME proxy.froste.eu
# 4. Visit https://career.lazyjobs.ink — HTTPS just works! 🎉