---
title: Using your own domain 
description: Setting up a custom domain for OpnForm
---

This page explains how to configure a custom domain for your OpnForm instance.

<Info>
    This guide covers the instance-wide domain for your self-hosted OpnForm
    deployment. Workspace or form-level custom domains are configured
    separately inside OpnForm and are not the same as the instance URL.
</Info>

## Custom Domain Setup

To use a custom domain (or subdomain)with OpnForm:

1. Purchase a domain (if needed) 
2. Configure DNS records to point to your OpnForm instance
3. Update OpnForm configuration:
   - Set `APP_URL` in `.env`
   - Set `NUXT_PUBLIC_APP_URL` and `NUXT_PUBLIC_API_BASE` in `client/.env`
4. Secure with SSL certificate

import CloudVersion from "/snippets/cloud-version.mdx";

<CloudVersion/>
