By default, the code will work on all the domains where it has been inserted.
Contents
To restrict to specific domains, follow these steps :
- Go to Admin at the bottom of the left-hand sidebar.
![](https://www.tawk.to/wp-content/uploads/2020/03/Admin-cog2.png)
- Select the Chat Widget option on the left-hand side menu.
![](https://www.tawk.to/wp-content/uploads/2020/03/chat-widget-icon.png)
- Scroll down to Domain Restriction until you see the Disabled, Configure to Enable on/off switch. Turn the switch to On by clicking on it. You will then see the options for the Domain Restriction.
![](https://www.tawk.to/wp-content/uploads/2020/03/widget-domain-restriction-1.png)
- If you will be using the Widget on a site that also makes use of Sub Domains you can add the Sub Domain here.
![](https://www.tawk.to/wp-content/uploads/2020/03/Widget-domain-restriction-2.png)