--- title: "Enforcing domain rewrite" slug: "enforcing-domain-rewrite" tags: ["Email Security - Cloud", "Customer", "Cloud Security"] updated: 2026-09-04T18:57:29Z published: 2026-09-04T18:57:29Z canonical: "docs.trellix.com/enforcing-domain-rewrite" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Enforcing domain rewrite The Enforce domain rewrite feature allows domains to be rewritten which otherwise will be skipped from being rewritten. Well known and high reputation domains are excluded from the domain rewrite action. If you need to rewrite specific domains, you can list such domains under the *Enforce Rewrite* tab. > [!NOTE] > Note > > Your entry should be the full URL or only the hostname. Partial URLs or URLs with wildcard characters will not be accepted. ![ETP_EnforceRewrite1.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-48bc23c9-1de3-9c8b-c31d-2dc3a8a014a0.png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A24%3A34Z&se=2026-11-22T14%3A24%3A34Z&sr=c&sp=r&sig=y72hZn3XyO%2BdEYhF%2FP1cVu9%2FK0TgLHNGFieoZVXL3tg%3D) **To add domains to the Enforce Rewrite list:** 1. Go to **Configuration** > **Policies**. 2. Select an advanced threat engine configuration policy. 3. Next to Configuration, select **Manage**. This section also displays the number of URLs added to Enforce Rewrite. 4. Select **Enforce Rewrite**. 5. Enter the domains in the domain entry box. You can enter up to 1000 domains. The character limit for each domain is 2000. Enter each domain on a separate line. *Rules for adding domains* - A domain is specified in the **Allowed List** within the policy will not be rewritten. - Subdomains of a specified domain will be rewritten. - Domain matching is NOT case-sensitive. - Only the domain and not the URL is considered for a match. - If a specific port is mentioned, only the URLs with that port will be matched. - Protocols are ignored. - If a subdomain is entered, the higher-level domain will not be matched. 6. Click **Save**.