Alex Stephens
Alex Stephens

Reputation: 3106

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?

Upvotes: 0

Views: 615

Answers (1)

4c74356b41
4c74356b41

Reputation: 72191

  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).

Upvotes: 1

Related Questions