Let's say we run a website
greatwebsite.com, This is a multilingual website we use
/ fr as path prefixes for handling languages (rather than top-level domains).
We use a CDN to open the entire site, and
greatwebsite.com is CNAME too
greatcdnprovider.com It then receives dynamic content from the configured origin.
We are in the process of launching a new version of this website and we would like to do this per language. We start with a small segment (language). The new website is running on Azure.
Our CDN can use different origins based on the request path. We want to send all requests first
greatwebsite.com/[insert-language-here] in the new Azure web application, while all other languages are displayed on the current Web site.
Now we can not add a CNAME or A record
greatwebsite.combecause we already gave it to CNAME
What will we do during this transition?
One idea is to create a subdomain
azure.greatwebsite.com and CNAME you to the Azure web application. Then we have the CDN that we can use
azure.greatwebsite.com as it originated for inquiries
greatwebsite.com gets CNAME too
greatcdnprovided.com then use
azure.greatwebsite.com which in turn is CNAME or contains an A record to our Azure web app.
Does this sound the right way or do we have other options?