Hello Krishnamoorthy Hegde
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
Yes, it is possible to change the URL from HTTP to HTTPS for your Azure Virtual Machine. Here are the steps to do so:
-First, you need to obtain an SSL certificate for your domain. You can either purchase a certificate from a trusted certificate authority or create a self-signed certificate. If you choose to create a self-signed certificate, you will need to install the certificate on your VM.
-Next, you need to configure your web server to use HTTPS.
-Finally, you need to update your DNS record to point to your VM's public IP address. You can do this by creating an A record in your DNS zone that points to your VM's public IP address.
Once you have completed these steps, you should be able to access your website using HTTPS with your DNS name and port number. Just replace "http" with "https" in your URL and you should be good to go.
Hope this helps.