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

Change port of the site

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
zombak
Posts: 8
Joined: Wed Nov 07, 2018 1:45 pm

Os: Ubuntu 16x
Web: apache + nginx
Change port of the site
  • Quote

Post by zombak » Tue Jun 04, 2019 4:01 pm

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

dreiggy
Posts: 154
Joined: Thu May 17, 2018 8:05 pm
Contact:
Contact dreiggy
Skype

Os: CentOS 6x
Web: apache + nginx
Re: Change port of the site
  • Quote

Post by dreiggy » Mon Jul 29, 2019 3:19 pm

Hello,
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'
When you will change ports, then you need restart vestacp and rebuild vhost configs:

Code: Select all

service vesta restart
for user in $(v-list-sys-users plain); do v-rebuild-web-domains $user; done
Top


Post Reply
  • Print view

2 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