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 Web Server
  • Search

How to change vestacp port?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
kudouyuzi
Posts: 177
Joined: Mon Apr 28, 2014 11:19 am

How to change vestacp port?
  • Quote

Post by kudouyuzi » Tue May 13, 2014 1:33 am

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

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: How to change vestacp port?
  • Quote

Post by imperio » Tue May 13, 2014 4:11 pm

/usr/local/vesta/nginx/conf/nginx.conf
find this lines

Code: Select all

# Vhost
    server {
        listen          8083;
change new port
after this

Code: Select all

service vesta restart
Top

kudouyuzi
Posts: 177
Joined: Mon Apr 28, 2014 11:19 am

Re: How to change vestacp port?
  • Quote

Post by kudouyuzi » Wed May 14, 2014 5:41 am

imperio wrote:/usr/local/vesta/nginx/conf/nginx.conf
find this lines

Code: Select all

# Vhost
    server {
        listen          8083;
change new port
after this

Code: Select all

service vesta restart
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) ?
Top

yokotsumo
Posts: 3
Joined: Tue Jul 22, 2014 1:00 pm

Re: How to change vestacp port?
  • Quote

Post by yokotsumo » Sat Nov 29, 2014 4:47 am

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?
Last edited by yokotsumo on Sat Nov 29, 2014 5:19 am, edited 1 time in total.
Top

kudouyuzi
Posts: 177
Joined: Mon Apr 28, 2014 11:19 am

Re: How to change vestacp port?
  • Quote

Post by kudouyuzi » Sat Nov 29, 2014 5:18 am

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

arafatx
Posts: 25
Joined: Tue Aug 11, 2015 4:51 pm

Re: How to change vestacp port?
  • Quote

Post by arafatx » Sat Jan 02, 2016 5:02 pm

imperio wrote:/usr/local/vesta/nginx/conf/nginx.conf
find this lines

Code: Select all

# Vhost
    server {
        listen          8083;
change new port
after this

Code: Select all

service vesta restart
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
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “Web Server”



  • 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
 

 

Login  •  Register

I forgot my password