Domain-bound licensing ties a license key to one or more specific domains, preventing unauthorized redistribution. If you sell WordPress plugins, JavaScript libraries, SaaS embeds, or any web-based software — domain-bound licensing is the standard for revenue protection in 2026.
What Is Domain-Bound Licensing?
Domain-bound licensing binds each license key to a set of authorized domains. When your software runs, it checks whether the current domain matches the license — if not, the software is either disabled or runs in a limited mode.
Why Domain Locking Beats Serial Numbers
- No key sharing — A key only works on registered domains, not everywhere
- No hardware dependency — No USB dongles or machine fingerprints
- Automatic enforcement — Validation happens at runtime
- Graceful limits — Start with 1 domain, upgrade as customers grow
- Audit trail — Know exactly which domains use each license
How Domain Validation Works
- Your software extracts the current hostname
- It sends the hostname + license key to the validation API
- The API checks the key, verifies the domain is authorized
- Your software enables or restricts features based on the result
// JavaScript SDK domain validation
import { TrafficOrchestrator } from '@traffic-orchestrator/client';
const to = new TrafficOrchestrator({ apiKey: 'YOUR_API_KEY' });
const result = await to.validate({
licenseKey: customerKey,
domain: window.location.hostname
});
if (result.valid) {
enablePremiumFeatures();
} else {
showUpgradePrompt();
}
Security: Server-Side Validation
Client-side-only validation is trivially bypassed. Server-side validation with Ed25519 cryptographic signatures ensures the response cannot be tampered with.
Handling Subdomains and Staging
- Subdomains — app.example.com matches a license for example.com
- Staging — staging.example.com needs validation too
- Localhost — Developers test without burning a domain slot
- www vs non-www — Both work automatically
Traffic Orchestrator handles all of these with intelligent domain matching.
Getting Started
Our edge network validates licenses in under 10ms from 300+ locations worldwide. Start with the free Builder plan and scale as you grow.
Ship licensing in your next release
5 licenses, 500 validations/month, full API access. Set up in under 5 minutes — no credit card required.