Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Running a webservice same with VestaCP

General questions about VestaCP
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
AarClay
Posts: 10
Joined: Mon Sep 25, 2017 9:58 am

Running a webservice same with VestaCP
  • Quote

Post by AarClay » Mon Sep 25, 2017 10:00 am

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??
Top

AarClay
Posts: 10
Joined: Mon Sep 25, 2017 9:58 am

Re: Running a webservice same with VestaCP
  • Quote

Post by AarClay » Sat Sep 30, 2017 11:11 am

Anybody any idea?
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Running a webservice same with VestaCP
  • Quote

Post by mehargags » Sat Sep 30, 2017 3:15 pm

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.
Top

AarClay
Posts: 10
Joined: Mon Sep 25, 2017 9:58 am

Re: Running a webservice same with VestaCP
  • Quote

Post by AarClay » Thu Oct 05, 2017 12:23 pm

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?
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Running a webservice same with VestaCP
  • Quote

Post by mehargags » Sat Oct 07, 2017 8:44 am

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
Top

AarClay
Posts: 10
Joined: Mon Sep 25, 2017 9:58 am

Re: Running a webservice same with VestaCP
  • Quote

Post by AarClay » Tue Jan 02, 2018 8:17 pm

And how can i edit the vhost per user?
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password