简体   繁体   中英

Domain configuration with iis hosted website in azure virtual machine

I have a virtual machine with a Website hosted on it. also by default, I have configured with azure provided DNS. but I want to configure different domain then how to configure it.

The other question is that I can publish my website to the Azure virtual machine directly but in that, I am able to publish in port 80 only, Cant I publish on other ports.

You can use the Azure DNS to host your own domain to Azure, then create a record for the VM public IP . Finally, you can access your own domain to the Azure VM.

All the ports of the VM you can use for your application, not only the 80 port. But you need to allow the port which you want to use in the Azure Network Security Groups rules, also the VM firewall. You can take a look at the Azure Network Security Groups .

If you have any more questions, please let me know, and if it's helpful, you can accept it as the answer :-)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM