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