Create a fully qualified domain name for a VM in the Azure portal
Applies to: Applies to: ✔️ Linux VMs ✔️ Windows VMs
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 public IP address to remotely access the VM. Although the portal doesn't create a fully qualified domain name, or FQDN, you can add one once the VM is created. This article demonstrates the steps to create a DNS name or FQDN. If you create a VM without a public IP address, you can't create an FQDN.
Create an FQDN
This article assumes that you've already created a VM. If needed, you can create a Linux or Windows VM in the portal. Follow these steps once your VM is up and running:
- Select your VM in the portal.
- In the left menu, select Properties
- Under Public IP address\DNS name label, select your IP address.
- Under DNS name label, enter the prefix you want to use.
- Select Save at the top of the page.
- Select Overview in the left menu to return to the VM overview blade.
- Verify that the DNS name appears correctly.
Next steps
You can also manage DNS using Azure DNS zones.
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho