resolving the domain name to the dns of dynamic ip assigned to application gateway

Somiya 246 Reputation points
2022-01-14T02:10:30.657+00:00

Hi Team,

I want to deploy the application gateway of standard sku which only allows the assignment of the dynamic public ip. I have create a dynamic IP address and has assigned a dns to it. So can I create a dns record of a domain name(website deployed on backend) to the dns of the dynamic IP address and even the ip changes the website could be reached ??

Example
website : test.example.com
Ip : 20.78.X.1 DNS: test-lP.japanwest.cloudapp.azure.com

Record: test.example.com CNAME test-lP.japanwest.cloudapp.azure.com

So even the ip changes but website could be reached using above record??

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,080 questions
0 comments No comments
{count} votes

Accepted answer
  1. zaamasu 716 Reputation points
    2022-01-14T15:46:47.367+00:00

    Hi Somiya-2815,
    I verified Application Gateway based on your question and I could access my test website by using custom domain name.

    • Application Gateway's set
      I select Standard Level(Basic SKU) and set dynamic public IP address.
    • DNS management Service's set
      I set <hostname>.xxxx.com CNAME xxxxx.japaneast.cloudapp.azure.com.
    • Other Information
      I post some image files as an example(*).
    • Website's number "#x" was random because of web configuration.

    I hope this information is useful for you.

    Best regards,
    zaamasu

    1 before
    165204-before.jpg

    2 after
    165170-after.jpg

    3 DNS
    165221-dns.jpg

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.