URL Forward

Hello,

I would like to forward http*://*.pfeiffer-china.com/* to http*://www.gebr-pfeiffer.com.
The domain should change to gebr-pfeiffer so the SSL cert will match.

I’ve created a page rule but it doensn’t work :-/

I tried even with CNAME record

Thank you for your support.

Best regards
Simon

Do you want to redirect pfeiffer-china.com to gebr-pfeiffer.com? Or do you want to keep pfeiffer-china.com in the URL but display the contents of gebr-pfeiffer.com?

Hi albert,

thank you for your message. I would like to redirect to gebr-pfeiffer.com so the ssl cert will match please.

Best regards
Simon

You can achieve this with Dynamic Redirects. You can create one at https://dash.cloudflare.com/?to=/:account/:zone/rules/redirect-rules/new.

This will redirect e.g. https://pfeiffer-china.com/about to https://gebr-pfeiffer.com/about.

2 Likes

Hi albert,

thank you for your support. I really appreciate it.

I did add the redirect rule like

and it is avtivated.

I removed the page rules and checked there are no CNAME redirections

Do you see what I am doing wrong?

Best regards
Simon

You’ll need to add a proxied DNS record on pfeiffer-china.com for Dynamic Redirects to work. I suggest you create the following DNS records (both proxied):

pfeiffer-china.com IN AAAA 100::
www.pfeiffer-china.com IN CNAME pfeiffer-china.com

Redirects from pfeiffer-china.com should then work. If you also want to redirect www.pfeiffer-china.com to www.gebr-pfeiffer.com, you will have to create another Dynamic Redirect rule.

2 Likes

Works perfectly.
Thank you very much for your support.

I wish you a great time.
Best regards
Simon

1 Like

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