We are trying to migrate sites from AWS to Azure WebApps.
AS IS:
The CNAME of the existing site points to Imperva. Imperva then points to AWS Site.
TO BE:
The CNAME of the existing site points to Imperva. Imperva then points to Azure WebApp Site.
PROBLEM:
When I try to add the custom domain to azure Web Apps website, it complains with the error that the existing Site MUST have CNAME pointing to Azure Website.
see example below:
This means that as part of cutover, we need to do below: 1. Quicky update CNAME to point to azure web app 2. Once custom domain is setup in azure 3. Change the CNAME back to Imperva.
This sounds bit hacky.
Is above right approach or am I missing anything here?