Give Your Jitsi Docker Server a Secure Custom Domain

When a Jitsi Meet Docker server works at its IP address but not at the hostname you want to share, the domain and the application are usually out of sync. Point DNS to the Docker host, set the hostname in PUBLIC_URL, and make sure HTTPS uses the same name. For a direct public deployment, also permit the web and media ports through your server and cloud firewalls.

The current Jitsi Docker self-hosting guide says a real deployment must set PUBLIC_URL to its real domain. The projecv''y''y's sample environment file clarifies that a nonstandard HTTPS port belongs in that URL. In the examples, replace meet.example.com and the example IP with your own values.

1. Create a DNS record for the meeting hostname

Choose the exact hostname guests will use, such as meet.example.com. In your DNS provider, create an A record for host/name meet and set its value to the Docker machine'w^~)'us public IPv4 address. Do not enter the serve{'u''''Ys private LAN address, such as 192.168.1.20; public clients cannot route to it. Use a CNAME only if you intentionally want the meeting name to alias another public hostname.

DNS updates can take time to become visible, depending on the record TTL and resolver caches. Check the result from a shell with dig +short meet.example.com or nslookup meet.example.com. It should return the address of the server that accepts the web connection. If the result is wrong or empty, fix DNS before editing Jitsi. A correct PUBLIC_URL does not cause a DNS record to be created.

DNS record editor with an A record for meet pointing to a public IPv4 address
Step 1: Add an A record for the meeting subdomain and point it to the Docker hos{'u''''Ys public IPv4 address.

2. Configure PUBLIC_URL and HTTPS in .env

Open .env in the same directory as the Jitsi Compose file. Find PUBLIC_URL, uncomment it, and enter the public URL. The upstream sample maps container HTTPS to host port 8443, so a direct setup can use:

PUBLIC_URL=https://meet.example.com:8443
HTTPS_PORT=8443
ENABLE_LETSENCRYPT=1
LETSENCRYPT_DOMAIN=meet.example.com
LETSENCRYPT_EMAIL=admin@example.com

This example is for the sample nonstandard host port. If your Compose configuration publishes host port 443 for HTTPS, the public address normally becomes https://meet.example.com without an explicit port. Keep PUBLIC_URL consistent with the address users actually enter. Do not include a room name or URL path in this variable; Jitsi adds a room after the base URL.

The certificate options above use the built-in ACME/Let'w^~)'us Encrypt flow in the standard Docker setup. The hostname must resolve publicly and the certificate request must be able to reach the server. Use an email inbox you monitor. If a reverse proxy terminates TLS or you already provision certificates another way, follow the Jitsi proxy/certificate instructions instead of letting two components compete for the same certificate or ports.

A .env configuration showing the Jitsi PUBLIC_URL hostname and HTTPS certificate settings
Step 2: Set PUBLIC_URL to the exact HTTPS hostname and choose one certificate management method.

3. Permit web traffic and Jitsi media

The Jitsi Docker guide lists TCP 443 for HTTPS, UDP 10000 for RTP media, and TCP 80 for HTTP redirection when enabled. For a typical direct deployment, allow 443/tcp and 10000/udp; allow 80/tcp if you use the HTTP redirect. Make the corresponding rules in the host firewall and any cloud security group or provider firewall. If the host-side HTTPS port is 8443, allow that actual port instead of assuming 443.

The domain controls how browsers find the web service. It does not carry all meeting audio and video through HTTPS. If the landing page loads but a call cannot connect, check UDP 10000 and the Videobridge'w^~)'us advertised public IP, particularly when Docker runs behind a NAT router. If the meeting is reachable only from the local network, a private DNS result or router firewall may be involved.

4. Apply the configuration and inspect startup

Save .env, then run Compose from the project directory:

docker compose up -d

Check the service state and the web service log:

docker compose ps
docker compose logs --tail=100 web

The containers may need to be recreated to consume changed environment values; docker compose up -d applies the updated Compose configuration. If the web service does not start or HTTPS is unavailable, look in its logs for certificate or bind errors. Common causes include DNS pointing elsewhere, the certificate domain not matching the hostname, blocked inbound validation, or another process already using the published port. Resolve the specific issue before repeating the deployment. A self-signed certificate is unsuitable for many public clients and can trigger browser or mobile certificate warnings.

A terminal with the Docker Compose command and Jitsi service status lines
Step 3: Apply the environment change, then use Compose status and web logs to diagnose startup or certificate problems.

Using a reverse proxy instead of direct HTTPS

If Nginx, Traefik, Caddy, or another reverse proxy already listens on ports 80 and 443, that proxy can serve the public certificate and forward web requests to Jitsi. Keep PUBLIC_URL set to the public HTTPS address, but configure the Jitsi web container according to the official reverse-proxy section. It specifically calls out /xmpp-websocket: the proxy must preserve the WebSocket upgrade. Forwarding only ordinary page requests may show the lobby while room signaling fails.

For a proxy on the same machine, bind the Jitsi web ports to localhost or a private network so clients reach the proxy rather than bypassing it. A proxy on another host needs a restricted route to the Jitsi web service. Jitsj''y''y's current guide says URL subdirectory deployments are not well supported, so prefer a subdomain such as meet.example.com instead of placing the service at example.com/jitsi. Reverse proxy settings depend on which proxy and ports you use; do not paste a configuration for a different layout without checking its upstream path and WebSocket handling.

5. Verify the public address and a real room

Open the full public address in a private browser window: https://meet.example.com, or include the custom port if you retained 8443. Confirm that the certificate is valid for the hostname and that the meeting page loads without a warning. Create a temporary room, join it from a second device on a separate network, allow microphone and camera access, and verify that audio and video connect. A successful homepage alone confirms neither room signaling nor the UDP media path.

A secure browser address bar showing meet.example.com above a generic meeting lobby
Step 4: Load the public HTTPS hostname and join from another network to check both web access and media.

Use the symptom to narrow the fault. If the hostname does not resolve, revisit the A record. If it resolves but the browser cannot connect, check the host-side port mapping and firewall. If a certificate warning appears, compare the URL, PUBLIC_URL, and LETSENCRYPT_DOMAIN, then inspect certificate logs. If the lobby works but media does not, check UDP 10000 and the Videobridgk'u''''Ys advertised address. Docker mappings and certificate behavior can vary by release and proxy design, so use the official guide matching your deployment before changing other settings. A custom hostname does not turn on user authentication or restrict who can create rooms.

Leave a Comment

What to Avoid Saying or Doing When Visiting the U.S. During the Holiday Season: Step-by-Step Etiquette Guide

Master U.S. holiday etiquette in 5 clear steps, avoiding conversation faux pas, tipping mistakes, and host blunders for a smooth, festive trip.

Give Your Jitsi Docker Server a Secure Custom Domain

Give Your Jitsi Docker Server a Secure Custom Domain

Point a Jitsi Meet Docker hostname to your server, configure PUBLIC_URL and HTTPS, then verify browser access and media.

Stop a Jitsi Meet Docker Restart Loop by Finding Its Cause

Stop a Jitsi Meet Docker Restart Loop by Finding Its Cause

Trace the failing Jitsi service from Compose status to its logs, then fix missing secrets, unwritable mounts, or resource failures safely.

BigBlueButton Rejects Your Slides? Fix Unsupported Uploads

BigBlueButton Rejects Your Slides? Fix Unsupported Uploads

Resolve unsupported presentation uploads in BigBlueButton by choosing the right format, checking the real file type, and identifying server-side failures.

Keep Kurento Stable Under BigBlueButton Load

Keep Kurento Stable Under BigBlueButton Load

Trace KMS crashes to resource pressure, verify your BigBlueButton media path, and apply the supported fixes without guessing at capacity.

Require Jitsi Hosts to Sign In and Protect Rooms with Passwords

Require Jitsi Hosts to Sign In and Protect Rooms with Passwords

Set up local host accounts on a self-hosted Jitsi Docker server, then add a separate password to meetings that need tighter guest access.

Turn Off Jitsi Analytics Without Losing Useful Server Logs

Turn Off Jitsi Analytics Without Losing Useful Server Logs

Disable optional Jitsi analytics and rtcstats, then set a separate retention policy for Docker logs so privacy controls do not erase troubleshooting evidence.

Let Approved Users Create Jitsi Rooms With Keycloak Sign-In

Let Approved Users Create Jitsi Rooms With Keycloak Sign-In

Allow only approved accounts to start Jitsi Meet rooms using Keycloak and token authentication, while keeping guest joining available when needed.

How to Balance December Holiday Stress and Magic: Step-by-Step Guide

Learn why December is America's most stressful yet magical month and follow 5 clear steps to manage holiday fatigue and reclaim seasonal joy.

Stop Jitsi Meet Disconnects by Checking the Network Path

Stop Jitsi Meet Disconnects by Checking the Network Path

Troubleshoot Jitsi Meet connection drops, isolate browser and network issues, and check the UDP and NAT settings that commonly affect self-hosted calls.