Change port of the site
Change port of the site
Hello, prompt how to change default ports of the website 80,443 on other what files it is necessary to look and what to change? I would be very grateful.
Re: Change port of the site
Hello,
you change default web ports in vesta config file:
When you will change ports, then you need restart vestacp and rebuild vhost configs:
you change default web ports in vesta config file:
Code: Select all
# grep PORT /usr/local/vesta/conf/vesta.conf
WEB_PORT='8080'
WEB_SSL_PORT='8443'
PROXY_PORT='80'
PROXY_SSL_PORT='443'
Code: Select all
service vesta restart
for user in $(v-list-sys-users plain); do v-rebuild-web-domains $user; done