Is it possible to host multiple websites with different domain names on a single Azure Web Sites instance in shared or standard mode? If so, how does one go about doing this?
E.g., in my test instance, all requests are served up from the "site\wwwroot" directory. I would like to be able to have example.com served up from "site\example.com" and example.org served up from "site\example.org", but I don't see a way to set this up from within the online Azure management GUI. I can add both domains via "Manage Domains", but I don't see a way to have them serve out different sets of files.
Note that there are several discussions here and elsewhere about hosting multiple sites on a single Azure Cloud Services instance, but I am specifically inquiring about doing so on an Azure Web Sites instance.
If you want to share same port number for multiple websites, then please remember to specify public domain name for each site. If you don't have so much public domain and you just want to access your website via External Firewall IP address, then please set different Port number for them.
Yes, the setup is very much possible and is a common requirement. You can deploy multiple separate 'WebApps' under an 'App Service Plan'.
Multiple site hosting enables you to configure more than one web application on the same port of application gateways using public-facing listeners. It allows you to configure a more efficient topology for your deployments by adding up to 100+ websites to one application gateway.
Can I simultaneously use Application Gateway for both external and internal traffic? Yes. Application Gateway supports one internal IP and one external IP per application gateway.
first you create multiple azurewebsites. Then take on AzureWebsite say site1 and then configure it for Standard mode. while configuring select all other sites in the dropdown as shown below -
This will make all selected sites to be on that standard mode and share resources on dedicated instance.
Now to configure custom DNS for each and every site, you can do that individually for every site on Azure management portal UI. Then Azure is going to take care of mappings and will ensure that right sites will be served for right domains.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With