Nil Pun
Nil Pun

Reputation: 17373

Azure cloud service Web App Not found -404

I've a webapp hosted in azure cloud service.

We would like to put the WAF infront of web app per setup below:

  1. We have created a bladomain.com.au
  2. The DNS record points to IMPERVA IP address
  3. IMPERVA then points to bla.azurewebsites.net

If I access the site directly using bla.azurewebsites.net, it works with no issue.

However when I try to access bla.zurewebsites.net, it shows below: enter image description here

I tried adding bladomain.com.au to azure web app custom domain but it shows the error message below:

Error:DNS record for 'bladomain.com.au' that points to 'bla.azurewebsites.net' could not be located. If you want to configure A record you must first create CNAME record with your DNS provider..."

Bit confused with error message above, as CNAME for bladomain.com.au should point to Imperva....

Appreciate any help.

Upvotes: 1

Views: 2789

Answers (3)

spicet
spicet

Reputation: 561

We have similar problem, we are getting 404 error after more than 48 hours. It works after only, we run ipconfig /flushdns on client machine. It works smoothly after that, but it virtually impossible to tell every client to do flushdns.

Upvotes: 1

Nil Pun
Nil Pun

Reputation: 17373

To resolve this issue you simply need to do one of below:

 1. Create awverify.yourdomain and point it's CNAME to azure web apps. OR
 2. Update your domain CNAME to point to azure Web Apps.

Upvotes: 0

Nava Vaisman Levy
Nava Vaisman Levy

Reputation: 514

This usually happens when you move your site regions, for example you had your site on Europe DC and you moved to US DC

It takes some time for the DNS to switch the IP address of your new Website and point it to the right DataCenter

It usually takes from 10 min to 2 hour for the changes to sync across the glob

Upvotes: 2

Related Questions