> ## Documentation Index
> Fetch the complete documentation index at: https://docs.opnform.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Using your own domain

> 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

<Note>
  The easiest way to get started with OpnForm is through our [official managed service in the Cloud](https://opnform.com/?utm_source=docs\&utm_medium=introduction\&utm_campaign=cloud_version). It takes just 1 minute to start building forms with the free plan, with high availability, backups, security, and maintenance all managed for you.
</Note>
