Forwarding a subdomain to a page on the main domain

We are turning off our website healthy-careers.americantraveler.com
We will need all pages in healthy-careers.americantraveler.com to be redirected to a blog page on the main domain www.americantraveler.com/travel-nursing-blog

Can this be accomplished thru a DNS record?

Use a redirect rule here…
https://dash.cloudflare.com/?to=/:account/:zone/rules/redirect-rules

Copy this example…

You need to keep the record for healthy-careers in the DNS ensuring it is proxied. Once the redirect is working, you can change it to a dummy record of A 192.0.2.1 or AAAA 100:: instead of the hosting IP address to remind you this is a redirect.

2 Likes

Done, this is what I have but still no redirect

The DNS record for healthy-careers.americantraveler.com is set to “DNS only” - it needs to be set to “Proxied” so the request passes through Cloudflare and can then be redirected.

1 Like

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