By Edy Werder — IT Consultant & Tech 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.
IT Consultant & Blogger
Hi, I’m Edy Werder. I’m an IT consultant and the publisher of Edy’s Tech Blog. With 30+ years in the industry, I write hands-on guides about homelabs, Proxmox, NAS, and WordPress—tested in my own lab before I hit publish. If this article helped, consider supporting the site or sharing it with a friend.
Enjoying the content?
No sponsors, no fluff—just real configs and results.

