Add a Port to Virtual Host for API Access

CentOS Linux 7.9.2009
Good Morning.

I am working on an application that is installed on a local network. When a new user is created an API call is made to a remote application that is public facing. Both application are on Virtualmin. I would like the remote application to consume the API from a specific port - then lock down that port to the IP of the local network.

The remote API application will still need the ability to log users in over port 80. I see the virtualhost has port 80 assigned to it and 443. How can I add an additional Port?

Any help would be appreciated.

hi did you look at Apache or nginx proxy stuff?

I did. If I look in the apache config file I can see all of the virtualhosts. For example:
there is a heading like this:

<VirtualHost 10.0.0.103:80>
    SuexecUserGroup "#1009" "#1009"
    ServerName sample.com
    ServerAlias www.sample.com
    ServerAlias mail.sample.com
    ServerAlias webmail.sample.com
    ServerAlias admin.sample.com

Later this week I am going to take one of them and copy it like this:

<VirtualHost 10.0.0.103:8080>
    SuexecUserGroup "#1009" "#1009"
    ServerName sample.com
    ServerAlias www.sample.com

Then open the Port 8080 in the firewall. I am not sure if that will work but more importantly, if it does, would this be the “proper” way to do it?