Problem: migrating support articles from HelpScout to Zendesk. I want to set up a list of 301 redirects.
Example: 301 Redirect: https://support.domain.com/hs/article/1234-Problem-Help to: https://support.domain.com/zn/article/1234-Problem-Help
The problem is, Zendesk requires a CNAME record of support.domain.com to point to myaccount.zendesk.com
Zendesk also does not offer any redirect services on their side.
I have a server where I can host support.domain.com and have all of the redirects in place in an .htaccess file. However, the domain is CNAME'd over to Zendesk.
What I need is a solution that would look at the URL path and any path that begins with "/hs/" to use a DNS A record to an IP address of my server and any URL path that begins with "/zn/" to use a DNS CNAME record to myaccount.zendesk.com
Is this possible? DNS is currently using Route 53.
zn.support.example.com
being pointed to Zendesk, andsupport.example.com
being pointed to your server.zn.support.example.com
approach?