Skip to main content

Set up your domain

This article explains how you connect your own domain to Spoks.

Written by Alva Dahl

If your email sending domain is not verified, you will be unable to publish or schedule campaigns in Spoks. This guide will walk you through the steps to set up and verify your domain, ensuring that your campaigns can be sent without any issues.

To set up your domain:

  1. Navigate to Settings -> Domain Settings in Spoks.

  2. Confirm your main domain. This is usually the same URL as your public Shopify store. Each workspace has one domain, so a second root domain can't be added to it.

  3. Define your desired subdomains for:

    • Email

    • Short links (Spoks automatically brands all visible links with your domain, similar to a built-in link shortener like Bitly).

    • Web posts (shareable links to your content).

    Spoks fills these in for you: your main domain for Email, link.yourdomain.com for Short links and feed.yourdomain.com for Web posts. Keep all three filled in, even if you only plan to send email, because the setup can't be confirmed with an empty field.

  4. Generate DNS records. After confirming your setup, Spoks will generate the necessary DNS records.

Adding the DNS Records:

The generated DNS records must be added wherever your domain's DNS is hosted. That is the service your domain's nameservers point at. For many stores this is the registrar you bought the domain from, but if you use Cloudflare, your web host or Shopify to manage DNS, the records belong there instead. Records added anywhere else have no effect.

  • If you are not sure where your DNS is hosted: look up your domain on a WHOIS service and check its nameservers, not its registrar. The nameservers name the service you need to log in to. If they read something like *.ns.cloudflare.com, your DNS is hosted at Cloudflare and the records go there.

  • Accessing DNS Settings: Log in to the service that hosts your DNS. You can typically find the DNS settings under a "Settings" or "Manage Domain" section. Add the records provided by Spoks here.

  • Provider-Specific Instructions: Spoks also provides step-by-step instructions for the most popular domain providers.

If you use GoDaddy

Add the records on GoDaddy's DNS Management page, not in Shopify and not under Domain Forwarding.

  • In the Name (or Host) field, enter only the short name Spoks shows, such as em3288 or kps._domainkey. GoDaddy adds your domain automatically. If you paste the full domain, the record is created at the wrong name and verification will fail.

  • For CNAME records, GoDaddy labels the Value field "Points to".

  • For the SPF record, use @ as the Name. If an SPF TXT record already exists, edit that one instead of adding a second.

  • Click Save after each record. Records aren't live until they're saved.

Handling Existing DNS Records:

If you are coming from a different provider, some DNS TXT records might already exist:

  • _dmarc record: If this exists, you can leave it as is. Spoks does not impose strict requirements on this record, only that it be present.

  • v=spf1 record: If this exists, you must update it to include include:sendgrid.net before the -all parameter.

  • Other records: None of the other records should typically be present and will be created for the first time.

Examples of Updated SPF Records

  • Before Update:

      v=spf1 include:_spf.google.com include:shops.shopify.com ~all
  • After Update:

      v=spf1 include:_spf.google.com include:shops.shopify.com include:sendgrid.net ~all
  • Another Example:

      v=spf1 include:_spf.hostedemail.com ~all

    Updated Version:

  v=spf1 include:_spf.hostedemail.com include:sendgrid.net ~all

Common Mistakes to Avoid

  • Creating Multiple SPF Records: Ensure there is only one SPF TXT record for your domain. Multiple SPF records can cause email authentication to fail.

  • Incorrect Syntax: Double-check the syntax of your SPF record to avoid errors.

  • Not Saving Changes: Ensure you save your changes in the DNS settings and verify that they have propagated.

  • Deleting records you did not add: only add the records Spoks generated. Your existing DNS records point your website, email and other services at the right places, and removing them can take your site offline.

TTL (Time To Live):

If prompted to specify the TTL for the records, you can choose either 1 hour or 3600 seconds.

Verification:

Once you have finished creating and updating your DNS records, return to Spoks and click Start verification.

This starts a verification process that usually takes up to 1 hour. This triggers a background validation and the generation of necessary SSL certificates. Upon successful verification, you will be able to publish and schedule campaigns without any restrictions.

Troubleshooting Tips

  • Check DNS Propagation: DNS changes may take some time to propagate. If verification fails, wait for a few hours and try again.

  • Verify DNS Records: Double-check that all DNS records are correctly configured as per the instructions in Spoks.

  • Using Cloudflare? Cloudflare proxies records by default, shown as an orange cloud. Set each Spoks CNAME record to DNS only, the grey cloud. With the proxy on, verification can fail even though the record is correct.

  • Contact Support: If issues persist, reach out to Spoks support for further assistance.

Did this answer your question?