简体   繁体   中英

Azure VM with multiple custom domains

I am currently running a multi-tennant website in Azure under a web app. I more than happy with the performance and scalablity options.

But...

I'm rapidly approaching the 500 custom domains limit. So need a new option.

I'm assuming this limit isn't applicable with an Azure VM?

Is it just a case of adding any new custom domains to IIS and the windows Host file?

Can this work be scripted via powershell?

How scalable are VMs?

  1. no, for azure vm you can have as many custom domain, because they are just CNAME records
  2. not sure why you would need hosts file, that is certainly one way to do it, but not for front facing apps. you would need your hosts file changes for anybody accessing the site.
  3. this is more of a question to your DNS provider, but they usually have some sort of API you can talk to >> so you can automate this.
  4. well, you can achieve scalability, but its not going to be straight forward (compared to App Services). You would need either vms with availability set or vmss (virtual machine scale set). You would also need a process to update your code on them and probably several other things (like how to install certificates etc).

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