Site not showing without www. (can only use CNAME)

I’ve got a landingpage in ActiveCampaign. When I rename the page to index, it should be able to function like a root page. In ActiveCampaign, I don’t have an IP adres to direct to, only CNAME address.

This works fine if you put www. in front. Without it, it doesn’t show a page.

ActiveCampaign told me to use Cloudflare, as they are the only ones that can do this with CNAMEs.

So I changed the nameservers and all works well, just not without www.

These are my settings. Any suggestions to fix the issue? Thanks!

Maybe a few reasons…

  1. Maybe your Active Campaign site is set to service www.aandelen.army, but not aandelen.army.
  2. Maybe Active Campaign requires a visible CNAME - although Cloudflare allows you to enter a CNAME for the apex domain, when queried it can only return an A or AAAA response to comply with the requirement that there must be an A/AAAA record for the apex domain.

The easiest option is to set up a redirect on Cloudflare to redirect aandelen.army to www.aandelen.army. To do this…

Delete the CNAME for aandelen.army and replace with a proxied A record pointing to 192.0.2.1.

Then set up a redirect here…
https://dash.cloudflare.com/?to=/:account/:zone/rules/redirect-rules

…by copying this example (just change the hostnames)…

1 Like

This works! Thank you very much!!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.