Saturday, April 30, 2022

Change ISPConfig default

 How to change the default port of ISPConfig


Changing port of ISPConfig is easy, if you follow these steps,

1. Connect your server through ssh with root privileges.

2. Open this file :-

# vi /etc/apache2/sites-enabled/000-ispconfig.vhost

and make changes in three lines:

 Listen 8080
NameVirtualHost *:8080

<VirtualHost _default_:8080>

 

To your desired port, for example 8000

 Listen 8000
NameVirtualHost *:8000

<VirtualHost _default_:8000>


and after that restart the apache2.

# /etc/init.d/apache2 restart

your ISPConfig port changed.

browse it using new port

https://ip-addresss:8000


Thats it,


0 comments: