Set up Edge CDN
Edge CDN serves your site from a global network with Canadian locations. This guide walks you through switching it on for one site, from the first click to the first visit through the edge.
Before you start
- Your site needs Edge CDN on your account: the Edge CDN add-on ($4.99 per site, monthly), the Pro plan, or Care.
- The site must use your own domain. A temporary site address ending in
barbrick.cloudcan't use Edge CDN, so change the site's primary domain first. - The site must load at its
wwwaddress, such aswww.example.ca. - If your domain's DNS is managed somewhere else, you need to sign in there to change one record.
Why Edge CDN uses www
The edge serves a name that points at it with a CNAME record. A bare domain like example.ca can't have a CNAME, so Edge CDN serves www.example.ca. Once www is live, we forward visitors from example.ca to www.example.ca. Links, bookmarks and search results keep working.
For WordPress, we also make WordPress use the www address, so pages don't bounce between the two.
Switch it on
- Open your site's dashboard at
https://barbrick.ca/account/hosting/your-site/websites/siteand choose the CDN tab. - Read which address Edge CDN will serve.
- Select Switch on Edge CDN, then confirm.
The tab now shows four steps and checks them for you every few minutes.
| Step | What happens | How long |
|---|---|---|
| On the edge network | Your www address is added to the edge |
Seconds |
| Certificate | The edge confirms you own the address and issues a free certificate | Usually a few minutes |
| DNS | www points at the edge |
Up to an hour; allow up to 24 |
| Live | The first visit arrives through the edge | Minutes after DNS |
If www already points at your Barbrick server, the certificate is issued first, while your site keeps running as it is. Nothing visitors see changes until DNS moves.
Point www at the edge
If your DNS is managed by Barbrick, we change the record for you and it's recorded in your DNS history. You can skip this section.
If your DNS is managed somewhere else, the tab shows the record to add once the certificate is ready:
| Type | Name | Target | TTL |
|---|---|---|---|
| CNAME | www |
edge.barbrick.cloud |
300 or Auto |
- Sign in where your domain's DNS is managed.
- Delete any A or AAAA records for
www. - Add the CNAME record above.
- Back on the CDN tab, select Check now, or leave it and we check on our own.
DNS changes usually show within an hour; allow up to 24. See A and CNAME records.
When it's live
The status changes to Live. The tab then shows traffic for the last 24 hours, including how much the edge answered without asking your server. Figures usually appear within an hour of going live. If the tab says they aren't available, the CDN still works; only the figures are missing.
If you can't switch it on yourself
If the tab shows Request CDN, select it. We set Edge CDN up for you and let you know when it's ready. The Edge CDN page in the panel shows each site's status.
If something goes wrong
- Stuck on Confirming for more than an hour. Something may be blocking
/.well-known/on your site, such as a security plugin. Select Confirm with DNS records instead, then add the TXT records the tab shows. You can remove them once the site is live. - Waiting for DNS for more than a day. Check the CNAME is on
www, not the bare domain, and that no A record forwwwis left. - Setup didn't finish within 7 days. We take the site off the edge and the tab says why. Your site isn't affected. When you're ready to change DNS, select Switch on again.
- You use your own CDN account for www. Point
wwwatedge.barbrick.cloudas a DNS-only record, without your own proxy. Edge CDN only goes live when visits reach our edge. - www also has other records. A name that points at the edge can't have anything else, such as MX or TXT records. Move them, or ask us.
- Your site sends www visitors to the bare domain. Set the site to prefer
wwwfirst. WordPress handles this for you; for other sites, ask us. - Needs attention. The message on the tab says what to do. Ask us if it isn't clear.
Switch it off
On the CDN tab, select Switch off.
- If we changed your DNS, we put it back the way it was.
- If your DNS is somewhere else, point
wwwback at your server first, or the site stops loading when the edge copy is removed. The tab tells you ifwwwstill points at the edge.
The edge copy is removed about 15 minutes later, once old DNS answers have expired.
Still stuck? Ask us and we'll walk you through it.
