I will show you how to change the default Vesta port from port 8083 to port 2087. You could change your port number to any other number. I will use 2087 port because Cloudflare supports that port in their free subscription. So I can protect my server from DDOS Attack using Cloudflare Free Subscription.
In brief the steps to change your port are:
2.Edit Nginx to Listen to the new port
In brief the steps to change your port are:
- Add the new port(2087) on VestaCP firewall
- Edit Nginx to Listen to the new port
- Restart vesta
- Delete the old port, 8083 .
2.Edit Nginx to Listen to the new port
# vi /usr/local/vesta/nginx/conf/nginx.conf
Comments
Post a Comment
You are always welcome to comment here, but your remarks should be relevant to the conversation. To keep the exchanges focused and engaging, we reserve the right to remove off-topic comments, or self-promoting URLs and vacuous messages.
We will try to reply to your queries as soon as time allows.
Regards,
Admin