Create a fully qualified domain name in the Azure portal for a Windows VM

When you create a virtual machine (VM) in the Azure portal, a public IP resource for the virtual machine is automatically created. You use this IP address to remotely access the VM. Although the portal does not create a fully qualified domain name, or FQDN, you can create one once the VM is created. This article demonstrates the steps to create a DNS name or FQDN.

Create a FQDN

This article assumes that you have already created a VM. If needed, you can create a VM in the portal or with Azure PowerShell. Follow these steps once your VM is up and running:

  1. Select your VM in the portal. Under DNS name, click Configure.

    Click Configure under DNS name

  2. Enter the desired DNS name and then select Save.

    Enter a DNS name label for your public IP resource

  3. To return to the VM overview blade, close the Public IP address blade. Verify that the DNS name is now shown.

You can now connect remotely to the VM using this DNS name such as for Remote Desktop Protocol (RDP).

Next steps

Now that your VM has a public IP and DNS name, you can deploy common application frameworks or services such as IIS, SQL, or SharePoint.

You can also read more about using Resource Manager for tips on building your Azure deployments.