Page 1 of 1

Running a webservice same with VestaCP

Posted: Mon Sep 25, 2017 10:00 am
by AarClay
I've plan to install VestaCP on my webserver. Although, om my webserver is also running a webservice in Python.
What is with VestaCP the best place to run thun this webservice? Can i run this in the userdirectory in /home?

And is it possible to change the Virtualhost so that i can link http://127.0.0.1:8080 to the (fictional) hostname: http://webservice.example.org.

Do I still have things to keep in mind when I use VestaCP, and i would run a Webservice??

Re: Running a webservice same with VestaCP

Posted: Sat Sep 30, 2017 11:11 am
by AarClay
Anybody any idea?

Re: Running a webservice same with VestaCP

Posted: Sat Sep 30, 2017 3:15 pm
by mehargags
VestaCP WebGUI runs on port 8083 and Apache runs on 8080 with Nginx as rev. proxy listening on 80. You can configure any other service to run on ports other than these 3.

Re: Running a webservice same with VestaCP

Posted: Thu Oct 05, 2017 12:23 pm
by AarClay
Thanks, and i can run python-scripts in the webroot of the user?
En how can i set-up the virtual host per added domain? I must have to add a setting into the Nginx-virtual-host for a proxy-setting. :80 to 8000 (on this port runs the python webservice).

Is is possible in Vesta CP?

Re: Running a webservice same with VestaCP

Posted: Sat Oct 07, 2017 8:44 am
by mehargags
Yes I guess you need to change the Web templates so each Virtual Domain you create will by default have the Apache port as you set in the template.

Read more here viewtopic.php?t=8688#p28678
or search https://www.google.com/search?q=vestacp ... +edit+8080

Re: Running a webservice same with VestaCP

Posted: Tue Jan 02, 2018 8:17 pm
by AarClay
And how can i edit the vhost per user?