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 do I change port of the websites (Not Vesta CP)

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
zypher
Posts: 1
Joined: Thu Oct 01, 2015 9:26 am

How do I change port of the websites (Not Vesta CP)
  • Quote

Post by zypher » Thu Oct 01, 2015 9:36 am

Questions:
How do I change port of the websites under Vesta services? These websites are not Vesta CP website.

Example:
After fresh install Vesta, a default website is installed at 192.168.1.xx. It shows PHP info.
I simply need to change this into 192.168.1.xx:8090. But I don't know how to do it in Vesta.

Background:
When I need to change port in apache, I just go httpd.conf and change Listen port and that's it or add port to virtual directory section. For nginx, I don't know how but I've config nginx.conf and listen port doesn't work either.

It seems Vesta does all the work. So I went to vesta.conf and tried to change PORT, PROXY_PORT none of that seems to work. To be honest, I don't get the idea how Vesta works. So it seems I don't know where Vesta places all the config files.

Thanks in advance.
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: How do I change port of the websites (Not Vesta CP)
  • Quote

Post by tjebbeke » Thu Oct 01, 2015 11:56 am

The configs of your domain are in your users home folder:
/home/username/conf/web
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