Multi-domain Setup

Learn how to use the same form across multiple websites or manage forms for different domains.

Adding Multiple Domains
Allow your form to work on several websites.

In your form settings, you can specify multiple allowed domains. This allows you to embed the same form on different websites.

Example allowed domains:

  • • example.com
  • • www.example.com
  • • blog.example.com
  • • app.example.net

Include both www and non-www versions if your site supports both.

Domain Validation
How FormBeam verifies submission origins.

When a form is submitted, FormBeam checks the Origin header against your allowed domains list. This prevents unauthorized use of your forms from other websites.

Origin header validationConfigurable domain whitelist
Best Practices
Tips for managing multi-domain forms.

Keep domains updated

Regularly review and update your allowed domains list as your websites change.

Use subdomains carefully

If you have many subdomains, consider using wildcard patterns or managing domains in batches.

Test on each domain

After adding a new domain, test the form on that site to ensure submissions work correctly.

Monitor submissions

Check your submissions dashboard to see which domains are generating submissions.

Common Scenarios
Different ways to use multi-domain forms.

Company websites

Use the same contact form across your main site, blog, and landing pages.

Multi-brand setup

Different brands under the same company can share forms with appropriate domain restrictions.

Development environments

Include localhost, staging domains, and production domains for testing and deployment.

Security Considerations
Protecting your forms across multiple domains.

While multi-domain support is convenient, be mindful of security. Only add domains you control or trust completely.

Regularly audit allowed domainsRemove unused domainsMonitor for unauthorized submissionsUse HTTPS on all domains