Add a custom domain on development
Development environments use the assigned Scalekit URL. Custom domains require Production and Customization Pro.
A Development environment cannot use a branded custom domain. Configure Custom Domain stays disabled, with the hint: custom domains are available on Production after you upgrade to the Customization Pro add-on.
Use the assigned Development environment URL for local work. When you need auth.yourapp.com, switch to Production and follow Branded custom domains.
Before you start
Section titled “Before you start”- You can open the environment (Development or Production) from the header switcher
- For a branded hostname, you can edit DNS for a domain you own
- Customization Pro is billed at $99/month and includes custom domains, watermark removal, custom email provider, and custom email templates
-
Open the Development environment
Section titled “Open the Development environment”In the header, click the environment name (right of the workspace name).
Choose the Development environment you use for local work.
-
Open Custom Domain
Section titled “Open Custom Domain”In the left nav, under Customize, click Custom Domain.
The page shows Custom Domain Add-on, the Environment URL, and a Live badge.
-
Copy the Development environment URL
Section titled “Copy the Development environment URL”Copy the Environment URL (for example
scalekit-xxxxx-dev.scalekit.cloud).Use that host in Development redirect URLs, SDK
environmentUrl, and local tests. See Manage environments.Configure Custom Domain is disabled on Development. Hover it to read the Production + Customization Pro requirement.
-
Configure a branded domain on Production
Section titled “Configure a branded domain on Production”Switch the header to a Production environment.
Open Customize > Custom Domain and click Configure Custom Domain.
If Customization Pro is not on this environment, Scalekit opens the Customization Pro Add-on $99/month dialog. Click Upgrade, then continue with the CNAME steps in Branded custom domains.
Verify
Section titled “Verify”Development
- Open the Environment URL in a browser
- Confirm the hosted login or admin page loads over HTTPS
- Confirm Development redirect URLs use that host, not a production hostname
Production (after upgrade)
- Configure Custom Domain is enabled
- DNS verifies and the branded host serves HTTPS
- Production redirect URLs use the branded host
Common questions
Section titled “Common questions”Can I attach auth.dev.yourapp.com to Development?
Not through Custom Domain. That page only enables CNAME on Production with Customization Pro. Keep Development on the assigned *-dev.scalekit.cloud URL.
Can I reuse the production hostname in Development?
No. Use the Development environment URL so cookies and redirect URLs never collide with Production.