what are steps i need to take if i don't have a domain name for my application server and i want to use domain name as endpoint in traffic manager

Table of contents

No heading

No headings in the article.

If you don't have a domain name for your application server but want to use a domain name as an endpoint in Azure Traffic Manager, you can follow these steps to set it up:

  1. Create a Public DNS Zone in Azure:

    • In the Azure portal, navigate to "DNS zones" and click "Add."

    • Enter a name for your DNS zone (e.g., "example.com") and select the appropriate subscription and resource group.

    • Complete the creation process to create the public DNS zone.

  2. Add an A Record for Your Application:

    • Within the newly created DNS zone, add an A record to map your desired subdomain (e.g., "www") to the public IP address of your Azure Traffic Manager endpoint.

    • If you haven't created a Traffic Manager profile yet, you'll need to do so now and obtain its DNS name.

  3. Create Traffic Manager Profile (if not already created):

    • In the Azure portal, navigate to "Traffic Manager profiles" and click "Add."

    • Configure the Traffic Manager profile with the appropriate routing method (e.g., Priority, Weighted, Performance).

    • Obtain the DNS name provided by Traffic Manager for your profile.

  4. Configure Traffic Manager Endpoint:

    • In the Traffic Manager profile settings, add an endpoint and select "External endpoint" as the type.

    • Enter the DNS name you created in step 2 (e.g., "www.example.com") as the endpoint DNS name.

    • Configure any additional settings for the endpoint, such as the priority or weight, depending on your routing method.

  5. Update DNS Records:

    • Go back to your DNS zone in Azure and update the NS records to point to the Azure DNS name servers.

    • If your domain is managed by a third-party DNS provider, update the NS records there to point to the Azure DNS name servers.

  6. Verify Configuration:

    • After configuring the DNS records, wait for DNS propagation to complete. This can take up to 72 hours, although it typically happens much faster.

    • Once propagation is complete, you should be able to access your application using the domain name you specified (e.g., "www.example.com").

By following these steps, you can configure a domain name as an endpoint in Azure Traffic Manager for your application server, even if you don't have a domain name initially. This setup allows you to use a more user-friendly URL for accessing your application while leveraging the routing and load balancing capabilities of Traffic Manager.

Did you find this article valuable?

Support Head starting my DevOps Journey . by becoming a sponsor. Any amount is appreciated!