How to change the port of "HestiaCP"?

I would like to change the default port of “HestiaCP”.

0.0.0.0:8083 for a new port.

please help me friends thanks.

  1. Open the following file.

/usr/local/hestia/nginx/conf/nginx.conf

  1. Scroll down and go the following lines and change 8083 to new port number.
server {
    listen          8083 ssl;
    server_name     _;
    root            /usr/local/hestia/web;
  1. Restart hestia and your are done.

service hestia restart

Or just checkout the cli command v-change-sys-port :slight_smile:.

1 Like