How to change vestacp port?
How to change vestacp port?
1. How to change vestacp port? e.g. 8083 change to 2086
2. How to change Webmail's url (192.168.1.2/webmail/) to like (192.168.1.2:8083/webmail/ Or Custom url (webmail.website.com) ?
2. How to change Webmail's url (192.168.1.2/webmail/) to like (192.168.1.2:8083/webmail/ Or Custom url (webmail.website.com) ?
Re: How to change vestacp port?
/usr/local/vesta/nginx/conf/nginx.conf
find this lines
change new port
after this
find this lines
Code: Select all
# Vhost
server {
listen 8083;
after this
Code: Select all
service vesta restart
Re: How to change vestacp port?
How to change Webmail's url (192.168.1.2/webmail/) to like (192.168.1.2:8083/webmail/ Or Custom url (webmail.website.com) ?imperio wrote:/usr/local/vesta/nginx/conf/nginx.conf
find this lineschange new portCode: Select all
# Vhost server { listen 8083;
after thisCode: Select all
service vesta restart
Re: How to change vestacp port?
Has something changed?
I did this for a long time but if I try today, I can not access the https admin page on any port other than 8083...
Update:
I have seen that iptables is now filled on VestaCP installation. I suppose it comes from there. Do you know what file to edit to change the iptables configuration on reboot?
I did this for a long time but if I try today, I can not access the https admin page on any port other than 8083...
Update:
I have seen that iptables is now filled on VestaCP installation. I suppose it comes from there. Do you know what file to edit to change the iptables configuration on reboot?
Last edited by yokotsumo on Sat Nov 29, 2014 5:19 am, edited 1 time in total.
Re: How to change vestacp port?
Yes, this can change your CP port. E.g. 8125, 8097, 2048...yokotsumo wrote:Has something changed?
I did this for a long time but if I try today, I can not access the https admin page on any port other than 8083...
Re: How to change vestacp port?
this doesn't work straight out of the box. need also to change port listening at vestaCP that can be accessed at https://YourIPAddress:8083/list/firewall/ and edit this port number from 8035 to whatever you want:imperio wrote:/usr/local/vesta/nginx/conf/nginx.conf
find this lineschange new portCode: Select all
# Vhost server { listen 8083;
after thisCode: Select all
service vesta restart
ACCEPT TCP/ VESTA 8035 0.0.0.0/0