How do I change port of the websites (Not Vesta CP)
How do I change port of the websites (Not Vesta CP)
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.
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.
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: How do I change port of the websites (Not Vesta CP)
The configs of your domain are in your users home folder:
/home/username/conf/web
/home/username/conf/web