GitStack and other web servers

Wed, May 2, 2012
GitStack uses Apache to run its web administration interface and to handle git http connections.
However GitStack uses by default the port 80. You might have some issues to run some others webservers on the side (IIS, Apache, Wamp, etc).
Fortunately, GitStack provides a convenient way to change its port after the installation process.

This article will guide you on how to install GitStack on a computer which has an other webserver running on the port 80 (IIS in our case).

1. Stop IIS (or your other webserver)


As GitStack runs by default on the port 80, you will have to stop your other webserver during the installation.
stop iis

2. Install GitStack


Install GitStack as usual following the Getting Started guide.
GitStack will be launched at the end of the installation.
automatic gitstack launch

3. Change GitStack’s port


On the GitStack administration panel, open the Settings/General tab.
Modify the http port to another port (8080 for example) and click on save.
git port
Reload your browser to http://localhost:8080/gitstack/

4. You are done


You can now restart your previous webserver (IIS in our example)
GitStack now runs on the port 8080. Make sure to clone and push on the port 8080 (ie : git clone http://192.168.0.2:8080/repo1.git )
gitstack admin panel