Sentora Support Forums

Full Version: redirect domain and mask ports with vhost?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Situation:
Sentora server with local ip : 10.0.0.94  public:  95.80.80.55 
erp server with multi domain tennant with local ip: 10.0.0.95   public  37.90.90.66    

i would like to point  www.customers1.nl  and www.customer2.nl   to the Sentora server. If the customer wants ERP i would like to redirect and use proxy to the erp server.
The erp server listens to customer1.nl:8069 and needs also longpolling for chat function.
Erp server port is set to 8069.
Longpolling port is set  8072

Can i redirect , for example with vhost entry and use proxy within Sentora   to the erp server with hiding the 8069 port?
HuhIs it possible to use the local address to make it more secure?  I can close more ports to the outside on the firewall.  

I know there is a solution for multi domain provisioning with this erp server but i have to use NGINX or Apche proxy on the erp server to work for.
I would rather use the routing , redirecting and proxy possibilities on Sentora server.
Your question is a bit confusing here. ERP Server ?? Longpolling?

You can either set sentora default port to 8069 and do routing or reverse proxy using Varnish/HaProxy/Nginx/Apache to hit sentora apache default server.

M B