Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Hii @Dev Estro ,
Thank you for reaching us regarding the issue.
You are trying to add a custom domain to your API web app, but you are running into issues because your app is currently on the Free tier. Unfortunately, the Free tier doesn’t support custom domains.
Custom domains are supported only on the Basic, Standard, Premium, and higher tiers.
If you want to add a custom domain, you need to upgrade to at least the Basic tier. Once you upgrade, you can follow the below steps to add your custom domain.
- Create a CNAME record with your DNS provider that points your custom domain (for example, www.yourdomain.com) to your app’s default Azure domain (for example, yourapp.azurewebsites.net).
- In the Azure portal, open your App Service, go to the Custom domains section, and click Add custom domain.
- Verify that your CNAME record is set up correctly, then add your custom domain to complete the setup.
Reference:
Buy and configure an App Service domain - Azure App Service | Microsoft Learn
Set up an existing custom domain name for your app - Azure App Service | Microsoft Learn
Kindly let us know if the above comment helps or you need further assistance on this issue.
Please "accept" if the information helped you. This will help us and others in the community as well.