Domain Management
When creating a widget, customers must specify a list of domains. The widget can only be used on these domains and will not work on any other domains. Customers can use subdomains to restrict the widgets further.
The domain should not contain a scheme http://
or https://
, a port 443
, or a path /
.
Specifying a subdomain is optional.
For example, www.example.com
will allow widgets on the following domains:
www.example.com
abc.www.example.com:8080
but not on the following domains:
example.com
dash.example.com
attacker-website.cf
not-example.com
When the widget is embedded on a domain not listed, it will show an error message.