Page 1 of 1
How to change vestacp port?
Posted: Tue May 13, 2014 1:33 am
by kudouyuzi
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) ?
Re: How to change vestacp port?
Posted: Tue May 13, 2014 4:11 pm
by imperio
/usr/local/vesta/nginx/conf/nginx.conf
find this lines
change new port
after this
Re: How to change vestacp port?
Posted: Wed May 14, 2014 5:41 am
by kudouyuzi
imperio wrote:/usr/local/vesta/nginx/conf/nginx.conf
find this lines
change new port
after this
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?
Posted: Sat Nov 29, 2014 4:47 am
by yokotsumo
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?
Re: How to change vestacp port?
Posted: Sat Nov 29, 2014 5:18 am
by kudouyuzi
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...
Yes, this can change your CP port. E.g. 8125, 8097, 2048...
Re: How to change vestacp port?
Posted: Sat Jan 02, 2016 5:02 pm
by arafatx
imperio wrote:/usr/local/vesta/nginx/conf/nginx.conf
find this lines
change new port
after this
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:
ACCEPT TCP/ VESTA 8035 0.0.0.0/0