Static IP and DNS Name
We now need to switch the IP configuration of our proxy from dynamic to static IP address. To do that open the web-proxy-vm-ip resource and set it as shown on the following screenshot. Note we are also setting the DNS name of our secure proxy to webproxy.francecentral.cloudapp.azure.com.
To verify the DNS name was successfully mapped to the public IP address run the following nslookup command on your admin host.
Microsoft Windows [Version 10.0.19043.1526]
(c) Microsoft Corporation. All rights reserved.
C:\Users\user1>nslookup webproxy.francecentral.cloudapp.azure.com
Server: dns.google
Address: 8.8.8.8
Non-authoritative answer:
Name: webproxy.francecentral.cloudapp.azure.com
Address: 20.111.8.251
We will use this domain name in the next steps of this tutorial in order to generate the secure proxy certificate.