Port assignment for 1 website

Hello.

I need to change one website , IP address . Port from 80 to 60.

Not my Server IP.

Is this possible ?

Just nginx.

Thank-You

Sid

Don’t worry, I fixed it. Forgot about the conf file in domains :~/

Sid

Hi,

Yes, you need to create a new web template for nginx and replace %web_port% with 60

listen      %ip%:60;

Assign that new template to your site and rebuild it.

Remember to add a firewall rule to allow port 60.

If you change it there, the port change will be lost when the site is rebuilt.

Thank-You

I’ll do that too.

Sid

1 Like