A CNAME (Canonical Name) record is an information element within a Domain Name System (DNS). If you have ever visited a site with “www.sitename.com”, the “www” prefix is typically a CNAME record pointing directly at the “sitename.com” domain.
CNAME records are used to map one domain to another domain, essentially creating an “alias” for the second domain. CNAMEs are important as they help with whitelabeling Landing Pages in SharpSpring and allow us to enable DKIM on our domain.
CNAME for DKIM
When enabling DKIM, we’ll need to better understand the two parts of a CNAME record: the "Name" and the "Value".
- The "Name" includes the domain and selector your mail will use to sign DKIM. “Name” may be displayed as “Host” by some DNS providers. This “Name” is provided for you within the DKIM configuration tool in SharpSpring and will look something like “s1._domainkey.[yourdomain]” or “em.[yourdomain]”. Your particular DNS provider may ask for the “Name” to be “s1._domainkey” or “s1._domainkey.[yourdomain.com]”, so make sure to follow their guidelines when adding this part of the record. Some DNS providers do not support underscore characters ( _ ), so you may need to review this help doc.
- The “Value”, shown in the configuration tool in SharpSpring as “Data”, is the public DKIM key that we manage for you. The “Value” of the CNAME record is provided by the DKIM configuration tool, and it will look something like “sg1.v#####.c#########.e.marketingautomation.services”.
CNAME for SharpSpring Landing Pages
When using CNAME records to whitelabel SharpSpring landing pages (remove the .pages.services extension), we’ll use “Name” and “Value” in the following manner.
- The “Name” will be the subdomain that our landing pages are set to publish to. You can choose whatever you like for your subdomain in SharpSpring, but we recommend to keep it something broad as you can only have one subdomain per instance that landing pages will publish to.
- The “Value” is the full URL that is generated for the landing page in SharpSpring. It will look something like “subdomain.domain.com.pages.services”.
With our CNAME records enabled, a lead can visit the site “subdomain.domain.com” while seeing the page that is actually published to “subdomain.domain.com.pages.services”.