I need to update the dns of my domain to the Azure Web App IP, however, upong testing it on the browser, this is the result:
I googled around and found this:
If you, as an app owner, are using a custom domain with an Azure Web App, then Azure needs to be configured for recognizing the custom domain name, so that it can route the request to the appropriate server in the region.
After registering the domain with a domain provider and configuring a DNS CNAME record to point to the app's Azurewebsites.net address (for example, wordpressbyayush.azurewebsites.net), the web app owner also needs to go to the Azure Portal and configure the app for the new domain.
The Web App is stored in a data center located in the region that the Web App owner has selected while creating the app. Azure's DNS server resolves the Web App address that was chosen for it to that data center.
DNS servers are in charge of resolving the name of the server that the user is trying to reach into an IP address, but clients cache this information in order to be able to load the page as fast as possible. If this app was deleted and re-created in another region, the new app will have a different IP address, but the client might still be caching the old IP address.
However, it's not clear enough. This is my custom domain screen:
How do I add the custom domain name?!
And for the love of all that's holy, why can't I access the website through the IP address? If I set my domain A to that IP, will it work? I have my doubts now.