Microsoft Azure Traffic Azure Failover from On-Premises Website to Azure Website


We would like to use Microsoft Azure's  Traffic Manager to  failover from a corporate public facing on-premises website to a website that is hosted in Microsoft Azure.  I'm having problems getting Microsoft Azure Traffic Manager to failover correctly to my test on-premises website.

So far I've done the following:

1. Created a test on-premises website (
2. Created a CNAME Record which points to (the Azure Traffic Manager Profile).
3. and use the same A Record.
4. Created a test Azure Website
5. Created a test Azure Traffic Manager Profile with two external endpoints and and one Azure endpoint for  I created this profile with Azure Powershell and added the external endpoints through Azure Powershell. When I view my profile in Azure I can see that they are added correctly.

When I stop to simulate a failover I would expect that it should failover to  The failover works for but does not work for  I get a 404 Not Found error for

Does anyone have experience with how to configure the DNS correctly to get failover to work with Azure Traffic Manager?

Thank you.
COV-WebmasterCity Of VancouverAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Shalom CarmelCTOCommented:
404 means that something is misconfigured on failover server.
That is because 404 is file not found error, and it is the response returned by a web server. So the DNS resolves to a web server that does not recognize the "" virtual host.

In other words, your DNS is good, your IIS is not.
COV-WebmasterCity Of VancouverAuthor Commented:
Thanks for your comments shalmoc. I think  IIS is configured correctly because the website works correctly when the site is running.  To simulate the failover I stopped the site on our hardware load balancer.  That's when I'm not able to access  At this point it should failover to the  

Could you please let me know what you think should change with the IIS configuration.

COV-WebmasterCity Of VancouverAuthor Commented:
We recreated our DNS entries with the CNAME pointing to the Azure Traffic Manager and it is working now.  There may have been an issue with the DNS changes propagating correctly the first time.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
COV-WebmasterCity Of VancouverAuthor Commented:
The solution provided was not correct.  IIS was configured correctly.  We were able to get the problem resolved ourselves.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.