---
title: Configure a Custom Domain or CNAME
description: You can use the Hook Security platform with domains that you own or control. You will need access to the domain's DNS records. 
---

[Skip to content](https://support.hooksecurity.co/configure-a-custom-domain-or-cname#main-content)

English

Show submenu for translations

[Submit a Ticket](https://support.hooksecurity.co/kb-tickets/new?hsLang=en) [Customer portal](https://support.hooksecurity.co/tickets-view?hsLang=en)

![Logo_white.png\]](https://support.hooksecurity.co/hs-fs/hubfs/Logo_white.png?height=48&name=Logo_white.png)

- [Default HubSpot Blog](https://hooksecurity-6535385.hs-sites.com/blog)

Open main navigation

Close main navigation

- [Default HubSpot Blog](https://hooksecurity-6535385.hs-sites.com/blog)
- English
  
  Show submenu for translations
- [Submit a Ticket](https://support.hooksecurity.co/kb-tickets/new)
- [Customer portal](https://support.hooksecurity.co/tickets-view)
- Go to hooksecurity.co

 Go to hooksecurity.co

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Help Center](https://support.hooksecurity.co/?hsLang=en)
2. [Tests/Campaigns](https://support.hooksecurity.co/tests-campaigns?hsLang=en)

# Configure a Custom Domain or CNAME

## You can use the Hook Security platform with domains that you own or control. You will need access to the domain's DNS records. 

Below are links to "How To" for configuring DNS settings in some common registrars.

[Go Daddy](https://www.godaddy.com/help/add-a-cname-record-19236)

[Network Solutions](http://www.networksolutions.com/support/cname-records-host-aliases/)

[Wild West Domains](http://help.securepaynet.net/article/7921?prog_id=wildwestdomains&locale=en)

[LCN](https://www.lcn.com/support/articles/how-to-create-an-a-aaaa-cname-or-txt-record/)

[Azure](https://docs.microsoft.com/en-us/azure/dns/dns-getstarted-portal)

If you're setting up a subdomain (such as www.somecompany.co.uk or blah.contoso.com), you must configure a** CNAME record** and point the record to landing.phishingbox.com. If you're trying to configure a root domain (such as somecompany.org.uk or comecompany.net), you will need create an **A record** and point it to 64.191.166.201 (this will auto generate SSL).

To send mail using your custom domain, you will need a TXT record that looks like this:

v=spf1 ip4:64.191.166.0/24 -all

Note: If you are configuring a subdomain, you will need to use an A record instead of a CNAME record, as subdomains cannot have both TXT records and CNAME records.

Once the CNAME record or A record has been created, the SPF record has been created, and DNS has had time to propagate the updates, it may be used as a custom domain within PhishingBox.

- *NOTE: DNS may take up to 48 hours to propagate the updates.*
- *NOTE: Custom domains can cause an "Insecure Connection" warning in targets' browsers since mail and landing pages will not be served securely.*

To add the custom domain to your account, go to **Templates > Template Domains** and click Add Domain. Enter your domain and click Test Domain. If the CNAME test passes (as shown below), then you'll be able to click Ok and the domain will be visible in your list of Account Domains. Your domain will also need a TXT record in order to be usable on your templates.

Once the domain has the appropriate CNAME and TXT records set up, then you'll be able to use it on your templates. Open the template editor for a phishing email template, expand Completion Settings, and the domain should be visible from the list of domains.

![add_domain.PNG](https://support.phishingbox.com/hc/article_attachments/360078316252/add_domain.PNG)

We are aware the system is currently prompting incorrect set up instructions. If you experience this prompt below, please disregard the DNS setup and refer to A record as 64.191.166.201 and TXT record that looks like this: v=spf1 ip4:64.191.166.0/24 -all

This error will be fixed in an upcoming deployment.

![](https://p20.zdusercontent.com/attachment/137208/L0vtiLoXzPETyihY4RMI2DO1q?token=eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..YSAP99tiCTaxqXvWa49RIw.cjMTLyrRhH0Z-yDG5wa5pmdmE0l_hHitm8DQxJi9iJT2J5jq6rl2ymW4tg1HdF5diqdxues3WTj0MJ8hYkoFPvbjxEmeSNMC_ps7at6t3BhQaOeBlf0AepxKngSkzzwBkesEg3Uj833jbXmmLEcCkeI5VWReF7IttLeJhoXmZ5ystrZ7Kux2VaaXh03JpldWW97ydtN7w3azKHaI7bKYP_FAIEBDaZG6383OqI0nX-jVdLDgfCNaj3N7FgGvnGn_hiFnKn1jU-R0cLCew1HURxeh2Yyu9L0PsYVQK2scNxY.0M8-XijEqKHses3vhJD9Tg)

- [Getting Started](https://support.hooksecurity.co/getting-started?hsLang=en#main-content)
  
  
  
  
  
    - [General](https://support.hooksecurity.co/getting-started?hsLang=en#general)
    - [General Safelisting](https://support.hooksecurity.co/getting-started?hsLang=en#general-safelisting)
    - [Microsoft Safelisting](https://support.hooksecurity.co/getting-started?hsLang=en#microsoft-safelisting)
    - [GSuite Safelisting](https://support.hooksecurity.co/getting-started?hsLang=en#gsuite-safelisting)
    - [Firewall/Spam Filter Safelisting](https://support.hooksecurity.co/getting-started?hsLang=en#firewall-spam-filter-safelisting)
    - [Creating Groups/Adding Targets](https://support.hooksecurity.co/getting-started?hsLang=en#creating-groups-adding-targets)
    - [Reporting Plug-In](https://support.hooksecurity.co/getting-started?hsLang=en#reporting-plug-in)
    - [3rd Party Integrations](https://support.hooksecurity.co/getting-started?hsLang=en#3rd-party-integrations)
    - [Platform Settings](https://support.hooksecurity.co/getting-started?hsLang=en#platform-settings)
- [Hook Academy](https://support.hooksecurity.co/hook-academy?hsLang=en#main-content)
  
  
  
  
  
    - [Campaign Ideas](https://support.hooksecurity.co/hook-academy?hsLang=en#campaign-ideas)
    - [Industry Specific Campaigns](https://support.hooksecurity.co/hook-academy?hsLang=en#industry-specific-campaigns)
    - [Course Reviews](https://support.hooksecurity.co/hook-academy?hsLang=en#course-reviews)
    - [Mastering Reporting](https://support.hooksecurity.co/hook-academy?hsLang=en#mastering-reporting)
    - [Becoming Compliant](https://support.hooksecurity.co/hook-academy?hsLang=en#becoming-compliant)
    - [Suggest a Hook Academy Topic](https://support.hooksecurity.co/hook-academy?hsLang=en#suggest-a-hook-academy-topic)
- [Tests/Campaigns](https://support.hooksecurity.co/tests-campaigns?hsLang=en#main-content)
  
  
  
  
  
    - [Reseller Only](https://support.hooksecurity.co/tests-campaigns?hsLang=en#reseller-only)
- [School](https://support.hooksecurity.co/school?hsLang=en#main-content)
  
  
  
  
  
    - [3rd Party Integrations](https://support.hooksecurity.co/school?hsLang=en#3rd-party-integrations)
    - [Troubleshooting](https://support.hooksecurity.co/school?hsLang=en#troubleshooting)
    - [Branding](https://support.hooksecurity.co/school?hsLang=en#branding)
    - [Course](https://support.hooksecurity.co/school?hsLang=en#course)
    - [Students](https://support.hooksecurity.co/school?hsLang=en#students)
    - [Automations](https://support.hooksecurity.co/school?hsLang=en#automations)
- [Reports](https://support.hooksecurity.co/reports?hsLang=en#main-content)
  
  
  
  
  
    - [Generate Reports](https://support.hooksecurity.co/reports?hsLang=en#generate-reports)
- [FAQs](https://support.hooksecurity.co/faqs?hsLang=en#main-content)
  
  
  
  
  
    - [Troubleshooting](https://support.hooksecurity.co/faqs?hsLang=en#troubleshooting)
    - [Campaign of the Month](https://support.hooksecurity.co/faqs?hsLang=en#campaign-of-the-month)
- [Reseller Guide](https://support.hooksecurity.co/reseller-guide?hsLang=en)
- [Hook Security Updates](https://support.hooksecurity.co/hook-security-updates?hsLang=en)
- [Onboarding Guides](https://support.hooksecurity.co/onboarding-guides?hsLang=en)
- [Managed Services](https://support.hooksecurity.co/managed-services?hsLang=en)

- [Default HubSpot Blog](https://hooksecurity-6535385.hs-sites.com/blog)

[![vast.png](https://support.hooksecurity.co/hs/hsstatic/content_shared_assets/static-1.4092/img/vast.png "vast.png")](http://hooksecurity.co)

hooksecurity.co Help Center

Copyright © 2026, Hook Security Inc.