Krishnamoorthy Hegde 40 Reputation points

I have a Azure Virtual Machine, I am accessing this from DNS Name (1234 is port number)

Is it possible to change http to https like below (1234 is port number)

If possible ? How to do this?

Please anybody suggest me.

Thank You

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,325 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 22,741 Reputation points Microsoft Employee

    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.