Custom domain on the IIS of an azure windows virtual machine

Claudio Veneroni 6 Reputation points
2021-02-08T16:52:51.727+00:00

Hi,
I need some information.
For a client of mine I would need to buy a custom domain ( with unlimited subdomains) and connect it to the iis of an azure windows virtual machine.
Example
http://domain.com responding to the iis root of the virtual machine
http://domain.com\subdomain that responds to an iis virtual directory.

Could you tell me how to proceed?

Thank you,
Claudio

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
691 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,990 questions
{count} vote

1 answer

Sort by: Most helpful
  1. SaiKishor-MSFT 17,236 Reputation points
    2021-02-08T23:45:14.633+00:00

    @Claudio Veneroni Azure DNS does not currently support purchasing of domain names. To purchase domains, you should use a third-party domain name registrar (Example- GoDaddy), who will typically charge a small annual fee. Once you buy the Domain, you can choose to use Azure DNS to host your DNS domain and manage your DNS records. More details here- https://learn.microsoft.com/en-us/azure/dns/dns-delegate-domain-azure-dns.

    Once you buy a domain, you can then use this domain to point it to your VMs Public IP or DNS name. More details given here- https://learn.microsoft.com/en-us/azure/dns/dns-web-sites-custom-domain

    Hope this helps. Please let us know if you have any further questions/concerns. Thank you!

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.