Page 1 of 1

"I hate web interface at port 8083" No problem, I have solution for this

Posted: Thu Oct 13, 2016 5:16 pm
by jobarte
Hi guys,

By default VestaCP web interface runs with SSL on port 8083, but isn't easy to access, because you need to remember correct address and always ignore SSL not validated to login.

Then, I have a workaround (or solution if you like) for this. Then Let's go.

On my example, I have my VestaCP panel on https://amazing.subdomain.vestacp.net:8083/

1 - On existing user (or create, you decide) create domain, that remember, this domain will be used only for this.
Ex: I created cool-panel.vestacp.net on panel user.

2 - With root or admin user, go to user owner of domain created and go to "conf" and "web"
Ex:
root@srv:# pwd
/home/panel/conf/web

3 - VestaCP apache and nginx config was created to be extended (thanks VestaCP team, you're amazing), then You will create a apache specific file for domain with your favorite editor.
Ex:
root@srv:# vim apache2.cool-panel.vestacp.net.conf // Debian like
root@srv:# vim http.cool-panel.vestacp.net.conf // Centos like

4 - We will make domain created as reverse proxy to VestaCP panel, then, edit file as below, save and quit

Code: Select all

ProxyRequests Off
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
ProxyPass / https://127.0.0.1:8083/
ProxyPassReverse / https://127.0.0.1:8083/
5 - Enable reverse proxy for apache
Ex:
root@srv:# a2enmod proxy
root@srv:# a2enmod proxy_http

4 - Test if all is okay with apache2ctl -t (or apachectl -t on CentOS)

5 - If is all okay, then restart your apache server and done, you can access VestaCP panel on specific domain.

Note: VestaCP will work on reverse proxy only if is on /, will not work on /panel /vesta /vestacp /cpanel /zpanel /bla-bla-bla and others.

Re: "I hate web interface at port 8083" No problem, I have solution for this

Posted: Mon Jan 16, 2017 3:38 pm
by Darkace
How can we use the Https for that because i only get the insecure connection for that

Hope we can fix this Fast Thanks in advance

Re: "I hate web interface at port 8083" No problem, I have solution for this

Posted: Tue Sep 04, 2018 9:00 am
by hanif81

Code: Select all

root@srv:# a2enmod proxy
root@srv:# a2enmod proxy_http
hi i just run two code above and nothing configure .. from CentOS 7

Re: "I hate web interface at port 8083" No problem, I have solution for this

Posted: Thu Oct 18, 2018 5:17 pm
by rtarson
jobarte wrote:
Thu Oct 13, 2016 5:16 pm
Ex:
root@srv:# vim apache2.cool-panel.vestacp.net.conf // Debian like
root@srv:# vim http.cool-panel.vestacp.net.conf // Centos like
Does the part with apache2 and http need to be present, also do both of them need to be created with same value or does one only need to be made?

Re: "I hate web interface at port 8083" No problem, I have solution for this

Posted: Sun Mar 24, 2019 8:17 pm
by Emohlyni
I get an insecure connection with Https. Tell me to continue working further or not?

Re: "I hate web interface at port 8083" No problem, I have solution for this

Posted: Wed Apr 10, 2019 10:00 pm
by dreiggy
You can just change port to another as described here: viewtopic.php?t=5126#p12657

For security reason I think better when panel is on custom port.