> ## Documentation Index
> Fetch the complete documentation index at: https://docs.userpilot.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Custom Domain Hosting

> Host the Userpilot JavaScript SDK under your own domain to bypass ad blockers and internal restrictions on third-party domains.

<Note>
  This feature is available on Enterprise and Growth plans.
</Note>

#### **Overview**

Adblock or browser safety extensions use a set of parameters that defines what will be blocked. Therefore, they sometimes tend to block Userpilot as it's a foreign domain for your end-users. Custom domain hosting is a solution that allows you to host the Userpilot Javascript SDK under your domain (e.g. [mydomain.example.com](http://mydomain.example.com) instead of [js.userpilot.io](http://js.userpilot.io)).

Most of the work will be done from our end; it can take up to 5 business days for the process to complete. This solution is targeted at resolving issues involving cases for both adblockers and internal restrictions regarding which domain the requests are initiated from.

#### **How to implement custom domain hosting**

<Steps>
  <Step title="Create the domain">
    Create the desired domain name that you would like to apply, for example, [mydomain.example.com](http://mydomain.example.com)
  </Step>

  <Step title="Put in the Request">
    Reach out to our support team by submitting a chat ticket from our help beacon or by emailing us at [support@userpilot.co](mailto:support@userpilot.com). You will need to provide us with your custom domain created in step 1 and your account app token. 
  </Step>

  <Step title="Wait for the CNAME record">
    We will provide you with a CNAME record name and value to define in your DNS provider to issue an SSL certificate under the provided custom domain.

    Once the SSL certificate is issued, we will provide you with the domain to which you can CNAME the custom domain.
  </Step>

  <Step title="Install the script">
    You will need to specify the new installation object (The original script looks like [this](../developer/installation/web)) , and this will be modified on your end to become:

    ```javascript theme={null}
    <script> window.userpilotSettings = {token: "Your token", domain: "mydomain.example.com"}; </script>
    <script src = "https://mydomain.example.com/sdk/latest.js"></script
    ```
  </Step>
</Steps>

<Frame>
  For any questions or concerns, please reach out to [support@userpilot.com](mailto:support@userpilot.com)
</Frame>
