["What is a dedicated domain name?"](https://www.yuque.com/apifm/doc/qr6l4m)
There are 2 ways to set up a dedicated domain name:
# Use default interface address
```javascript
WXAPI.init("gooking")
WXAPI.setMerchantId(2)
```
Set the SDK’s exclusive domain name to `gooking`
Set the merchant ID of the SDK to `2`
["Online Walkthrough"](https://bi.cool/project/m5vDU78/embed?bi-active-file=main.js)
# Custom interface address
```javascript
WXAPI.init2("https://api.it120.cc", "gooking")
```
This method will modify the domain name address and exclusive domain name when the SDK requests the interface.