Custom domains are available for Leap Pro plan subscribers.
Setting up a Custom Domain
Follow these steps to connect your domain to your Leap application:- In your Leap project, click the Deploy button in the top-right corner
- After deployment, click the + Custom Domain button which will take you to the Domains settings page.
- Click the Add Domain button to open the domain configuration modal

-
Enter your domain (e.g.,
your-domain.com) -
The modal will show you the DNS record you need to add to your domain provider:
- Select the environment you want to assign the domain to.
- Click Add Domain to complete the setup
- Add the specified DNS record with your domain provider (see DNS Configuration section below)
Your custom domain comes with DDoS protection powered by Cloudflare WAF.
DNS Configuration
After adding your domain, you’ll need to set up the appropriate DNS records with your domain registrar. Select your provider below for specific instructions.- Namecheap
- GoDaddy
- Cloudflare
- Google Domains
- Other Providers
- Log in to your Namecheap account
- Go to Domain List and click Manage next to your domain
- Select the Advanced DNS tab
- Click Add New Record
- Enter the following details:
- Type: CNAME Record
- Host: Enter your subdomain (e.g.,
apiforapi.your-domain.com) - Value:
custom-domain.encr.app - TTL: Automatic
- Click Save All Changes
Verifying Your Domain
After setting up the DNS record:- It may take some time for DNS changes to propagate (typically 15 minutes to 48 hours)
- You can check the status of your domain on the Domains settings page
- Once verified, your application will be accessible via your custom domain
Troubleshooting
If you encounter issues with your custom domain setup:- Verify that your DNS record is correct and matches the provided instructions
- Check if your DNS changes have propagated using a tool like dnschecker.org
- Ensure your domain doesn’t have conflicting DNS records
- Contact support via the Encore Cloud dashboard if you continue to experience issues