Skip to main content

TitanHQ Product Docs

Importing Domains

Follow the steps below to bulk import allowed and blocked domains into WebTitan from a CSV file.

  1. Open the policy you wish to import allowed or blocked domains to:

    • Default policy: Go to Settings > Default Policy and select the Allowed & Blocked Domains tab.

    • Custom policy: Go to Content Filtering > Policies, select the policy, and then select the Allowed & Blocked Domains tab.

  2. Select Import at the top of the Domains table and the Import Domain window displays.

  3. Select Import File and choose either Allowed Domains or Blocked Domains.

    WT-SL-import-domains-window.jpg
  4. Browse to locate your CSV file and click Open.

The CSV file must have a single domain per line and follow the following format:

  • Domain: Domain name, in a valid format, that you want to allow or block (required).

  • Subdomains: TRUE or FALSE (default: TRUE).

  • Log Requests: TRUE or FALSE (default: TRUE)

  • Comment: Optional comment field.

Example CSV file for import:

WT-SL-example-csv.jpg

Note that:

  • Duplicate entries invalidate an import.

  • Imported domains take precedence. For example:

    If a domain is currently allowed and is then imported as a blocked domain, the blocked domain takes precedence.

    If a domain is currently blocked and is then imported as an allowed domain, the allowed domain takes precedence.

Example CSV contents as they appear in the Domains table after a blocked domain import:

WT-SL-example-import.jpg