Page 1 of 1

Is it possible?

Posted: Thu Dec 19, 2019 12:46 am
by PlayBoxTech
Hi all,
I work for a hosting company and I'm currently writing technical support articles about VestaCP in response to cPanel increasing their pricing.

I have a question I'm hoping someone will be willing to answer:

For people who are behind say a corporate firewall and not able to access the port needed to access Vesta, is it possible to make it run on port 80 like cPanel does by going to something like vesta.domain-name.com?

Thanks!
Chris

Re: Is it possible?

Posted: Thu Dec 19, 2019 2:04 am
by grayfolk
PlayBoxTech wrote:
Thu Dec 19, 2019 12:46 am
Hi all,
I work for a hosting company and I'm currently writing technical support articles about VestaCP in response to cPanel increasing their pricing.

I have a question I'm hoping someone will be willing to answer:

For people who are behind say a corporate firewall and not able to access the port needed to access Vesta, is it possible to make it run on port 80 like cPanel does by going to something like vesta.domain-name.com?

Thanks!
Chris
As i know, cPanel working on 2082/2083 ports.

Re: Is it possible?

Posted: Thu Dec 19, 2019 8:28 am
by DarthVader
I have similar solution but for apache only

1) create domain vesta.<domain>
2) setup proxy on apache side and include in /home/$user/conf/web/vesta.proxy.conf as IncludeOptional (see your vhost settings)

ProxyPass "/" "http://<domain>:8083/"
ProxyPassReverse "/" "http://<domain>:8083/"

Re: Is it possible?

Posted: Thu Dec 19, 2019 8:42 am
by mehargags
PlayBoxTech wrote:
Thu Dec 19, 2019 12:46 am
is it possible to make it run on port 80 like cPanel does by going to something like vesta.domain-name.com?

Thanks!
Chris
cPanel or any Panel cannot run on port 80 or else how will your front facing websites be served with Nginx/Apache ? Please use some logic, you have a "responsibility" to bear if you are a technical writer.

Yes, the best you can do is configure a domain in your VestaCP and proxy it back to vestacp-IP:8083. (search how to do it, plenty of articles)
Secondly, you can setup an VestaCP on an alternative port which is / can be allowed by your firewall.

Learning basics would only make your writing more accurate and productive

Re: Is it possible?

Posted: Thu Dec 19, 2019 9:35 am
by PlayBoxTech
mehargags wrote:
Thu Dec 19, 2019 8:42 am

cPanel or any Panel cannot run on port 80 or else how will your front facing websites be served with Nginx/Apache ? Please use some logic, you have a "responsibility" to bear if you are a technical writer.
I'm not wanting to start any flame war here. Actually it is possible, and with cPanel it happens by default, as shown in this forum post from 11 years ago: https://forums.cpanel.net/threads/cpane ... 80.100437/.
mehargags wrote:
Thu Dec 19, 2019 8:42 am
Yes, the best you can do is configure a domain in your VestaCP and proxy it back to vestacp-IP:8083. (search how to do it, plenty of articles)
Secondly, you can setup an VestaCP on an alternative port which is / can be allowed by your firewall.
Thank you with this little bit of knowledge I can work the rest of it out.
mehargags wrote:
Thu Dec 19, 2019 8:42 am
Learning basics would only make your writing more accurate and productive
And knowledge is power.