Avatar of rwallacej
rwallacej

asked on 

Azure Virtual Machine hosting - more than one domain to same IP address?

Hi

I have a Azure Virtual Machine VM with fixed IP , say 123.456.789.101
I want this Azure VM to host more than one website, the different websites having different domains, but not sure if this can be done

Can I have more than one domain map to this single Azure Virtual Machine IP, and the different domains to different virtual directories/sites on the same Azure  Virtual machine?

So I have 3 domains say
www.abc.com    - this should go to site one say 123.456.789.101/abc
www.def.com  - this should go to site two say 123.456.789.101/def
www.ghi.com - this should go to another site say 123.456.789.101/ghi

I don't want user to have to type in virtual directory
Microsoft IIS Web ServerWeb ServersHTTP Protocol

Avatar of undefined
Last Comment
David Johnson, CD

8/22/2022 - Mon