Page 1 of 1

Would you please help me configure, Thanks!

Posted: Mon Sep 10, 2018 5:11 am
by mmotk2016
I need to add a port for the website to run.
For example:
- Normal website running with port 80: http://domain.com:80/
- Now I want to configure another port 8245: http://domain.com:8245/
What should I do? please help.. please help.. please help..

Re: Would you please help me configure, Thanks!

Posted: Mon Sep 10, 2018 3:59 pm
by xorro
First you need to open custom port on your vestacp server depends on which OS you are using CentOS or Ubuntu.
Default HTTP port is 80 and HTTPS port is 443
Just login to your VPS / server Edit nano /home/<user>/conf/web/(domain.nginx.conf)

change the port and save it.

Reboot Nginx and you are good to go just enter http://yourdomain:port to access your website.