By Edy, Tech Expert & Blogger

The default port for the ispconfig WebGui is 8080. However, many people want to change it to something else. In this short article, I show you how to change ispconfig port when running ispconfig on an Nginx or Apache webserver.
Let’s get started!
Change ispconfig port when running on Nginx webserver
To change the port that ispconfig is running on, you will need to edit the file /etc/nginx/sites-enabled/ispconfig.vhost.
nano /etc/nginx/sites-available/ispconfig.vhost
I’m using the nano editor, but it also works with the vi editor.

Save and close the file. Then, restart Nginx for the changes to take effect.
systemctl restart nginx
You can now access ispconfig on your new port by going to:
http://ip-addresss:15080 or https://FQN:15080
In my example, I change ispconfig port for the WebGui to 15080
Change ispconfig port when running on Apache webserver
Edit the file /etc/apache2/000-ispconfig.vhost
nano /etc/apache2/sites-enabled/000-ispconfig.vhost
Here again, I’m using the nano editor, but it also works with the vi editor.

Save and close the file. Then, restart Apache for the changes to take effect.
systemctl restart apache2
That’s it!
Check out my other articles about Linux
Conclusion
This article showed you how to change the port that ispconfig is running on when using an Nginx or webserver. The location and the name of the config file are slightly different.
Tech Expert & Blogger
Hi, I’m Edy. With over 30 years of experience in the IT industry, I’ve tackled numerous tech challenges.
As a solopreneur, I write articles to fill the gaps I notice in my work and online.
My mission? To provide clear, step-by-step tech guidance and improve the information you find on the web
Enjoying the content?