Best way to do a redirect to another domain (both on Cloudflare)

We just put three domains on Cloudflare, two (aaa.com and bbb.com) we moved to a new host and the third (ccc.com) we want to stop hosting because it’s just a splash page, so we want to redirect that domain to a page on one of the other domains.

So:
ccc.comaaa.com/splash-page

In fact it might be worthwhile to redirect any url from ccc.com to this splash page:
ccc.com/*aaa.com/splash-page

Is it better to have the DNS point the domain to the same server as aaa.com, and then use the host’s redirecting capabilities to direct the traffic to the one page on aaa.com? Or is it better to do this in Cloudflare? And if so how?

It’s faster to use Page Rules to redirect. You probably already have DNS records for the old domains, so you just need the Page Rule from this tutorial:

2 Likes

Thank you, we’ll try this!

2 Likes

We did the change and we’re getting a “The connection has timed out” error when going to ccc.com, maybe it’s just too soon. Fingers crossed this works. I’ll be in touch either way.

Make sure that ccc’s DNS entries are set to :orange: Proxied. If you need more assistance, please post the actual ccc domain name.

Ah ok, they were DNS only. I just changed them.

ccc.com = metrospherelight.com, and it needs to redirect to https://metroev.ca/divisions.

@sdayman It’s working now! Good save. Thanks so much.

3 Likes

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