Is it possible to create this kind of route/dns and structure for my website?
mywebsite.com.br/blog/* → Redirect for Hostgator
mywebsite.com.br/compradores/* - Redirect for Hostgator
mywebsite.com.br/fornecedores/* - Redirect for Hostgator
mywebsite.com.br/* - Redirect for Azure Plataform
subdomain.mywebsite.com.br/* - Redirect for Azure Plataform
I want to do this to not lose my SEO and Google Campaigns, someone knows it’s possible?
You can redirect from any URL to any other URL you want
Assuming what you call “different servers” are different websites on different servers and on different domains, then yes, you should be able to redirect as you intend.
Cloudflare Page Rules will soon be deprecated, as they are being replaced by a group of new Cloudflare Rules.
Redirect Rules (beta) helps you make all kinds of dynamic or static redirects.
Examples of some of the most requested Redirect Rules:
1 - Canonical redirect (naked domain to www.)
Redirect Rule detailsWhen incoming requests match
Expression: concat("https://www.example.com", http.request.uri.path) …
Hii, Thanks for helping!
Is it possible to use a contain page URL rule to direct to an IP? Thinking about the DNS level so as not to affect the SEO ranking.
If the page contains:
mywebsite.com.br/blog/* → IP HostGator
mywebsite.com.br/compradores/* - IP Hostgator
mywebsite.com.br/fornecedores/* - IP HostGator
mywebsite.com.br/* - IP for AzurePlataform
subdomain.mywebsite.com.br/* - IP for AzurePlataform
Please see the following answer by
@epic.network to a similar question.
Welcome to the Cloudflare Community.
That’s not how DNS works. DNS translates a hostname to an IP address. The /blog portion of your URL is not involved your DNS. It is handled by the server after the DNS resolution has occurred.
If you just want example.com to take vistors to your main site and example.com/blog to direct them to your blog on another server, you can do that using Cloudflare with a redirect rule applied to a proxied hostname.
First, get your blog working at blog.exa…
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.