Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hosting two websites on single Azure VM and exposing ports

I have an Azure Linux VM that runs two web sites. On port 80 and 8080. I'm going to add domains to both the sites and when the domains are mapped I don't want the user to specify the port (for example 8080). Meaning there should be two public endpoints.

What service in Azure can I use for getting this done?

like image 522
Kamal Rathnayake Avatar asked Nov 19 '25 12:11

Kamal Rathnayake


1 Answers

It sounds like you're looking for a reverse proxy. Azure Load balancer can do this for you.

https://azure.microsoft.com/en-us/services/load-balancer/

like image 73
Mike Veazie - MSFT Avatar answered Nov 21 '25 05:11

Mike Veazie - MSFT