Set up custom domains and embedding¶
Serve a brand's WebTrader on a broker's own web address, and allow the broker to embed it inside their own website.
These controls live in the Domains card of the brand editor. Your changes apply when you click Save in the header.
Prerequisites
- You are signed in to the Backoffice with a role that grants permission to manage brands.
- You have opened a brand from the brands list.
- To point a custom domain, you (or the broker) can create DNS records for that domain.
Choose how the brand is hosted¶
Use the Hosting mode selector to choose where the brand is served:
- On the platform-provided address — the brand's own web address, set up for you automatically. No extra steps are needed.
- On a broker's custom domain — a web address the broker owns, such as trade.example.com.
When you choose a custom-domain mode, the card shows the exact DNS record the broker needs to create — a target to point their domain at. Give that record to the broker to add at their DNS provider. The card provides a copy button for the value.
Note
The card shows the exact DNS record to create for the mode you pick. Give that record to whoever manages the domain's DNS.
Add the custom domains¶
Under Custom domains, list every host name the brand should additionally be served on (the platform-provided address is always included and is not listed here).
- Click Add to create a row.
- Enter a host name, such as trade.example.com. The editor validates that each entry is a valid host name and flags any that are not.
- To remove a host, click the trash icon on its row.
The broker creates the DNS record manually at their DNS provider, pointing the domain at the target the card shows. Once you save, each domain shows a status badge: a newly added domain reads Not started until real HTTPS traffic to it validates the domain, at which point it becomes Active.
Allow the WebTrader to be embedded¶
Some brokers want to show the WebTrader inside a page on their own website rather than send customers to a separate address. The Domains card controls this:
- Turn on Embedding enabled to allow the brand's WebTrader to be embedded.
- Under Allowed embedder origins, add each website address that is allowed to embed the brand — for example https://www.example.com. The editor validates that each entry is a valid origin.
Warning
Only the origins you list here can embed the brand's WebTrader. Keep the list limited to sites the broker controls.
Click Save in the header to apply your domain and embedding settings.