CNAME automatic redirection


#1

Dear Cloud Flare Team,

I need to redirect my domain into my subdomain, without creating every time into my Cloudflare subdomain CName. Is there any possibility is there for automatic redirection into my subdomain without using manual creation of CNAME

Regards,

Marimuthu


#2

If your looking to redirect a domain to a subdomain you can always edit the .htaccess file for your main domain and it will redirect you to the domain of your choice.

https://help.dreamhost.com/hc/en-us/articles/215747748-How-can-I-redirect-and-rewrite-my-URLs-with-an-htaccess-file

That is just one of the links for information

https://mediatemple.net/community/products/grid/204643080/how-do-i-redirect-my-site-using-a-htaccess-file

You can also edit CNAME’s and other zone information under the DNS tab of https://cloudflare.com

Hope this helps,
Bailey :slight_smile:


#3

Thanks for your reply, Is there any possibility is there without editing htaccess file for automatic creation like api calls


closed #4

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