Jul 08
As some have reported problems following guides like this, I made another step by step guide with lots of images.
Note: The images are taken on my german Windows 7. The locations of the buttons should be the same though.
| Action | Image |
|---|---|
Setup the second IP |
|
| Next to your clock, you’ll find the network icon. | |
| Click on it and open the Network Center. | ![]() |
| Click on your active connection. | ![]() |
| Click on Settings. | ![]() |
| Scroll down and click on “Internet Protocol Version 4 (IPv4)” and click on Properties. | ![]() |
| Note: If you have “Obtain IP Adress automatically” enabled, please watch the video in this post. | |
| Click Extended Settings. | ![]() |
| Click Add. | ![]() |
| Enter the desired second IP, the submask should be added automatically. Click Add. | ![]() |
| Make sure both IPs show up. | ![]() |
Configure IIS |
|
| Open the start menu, type powershell (or cmd if you don’t have the powershell) and press enter. | ![]() |
| Do as it is shown on the image. (netsh, http, sho iplisten, add iplisten address=192.168.0.33, sho iplisten) Replace 192.168.0.33 with the IP you want to use with IIS. | ![]() |
| Exit netsh, type nestat -an, this will show a long list, you should find YOUR-IP:80 within. | ![]() ![]() |
Installing and configuring XAMPPGet the latest version here |
|
| Remember in what folder you install it into. | ![]() |
| Choose to run Apache as service, this will make it a little easier. | ![]() |
| Note: You will most likely receive errors saying something like port 80 could not be bound to Apache, that is ok. | |
| Open the folder you installed XAMPP into, switch to the conf folder. | ![]() |
| Open the httpd.conf with a texteditor. | ![]() |
| Search for “Listen 12.34.56.78:80″ | ![]() |
| Should be somewhere between line 50 and 60 | ![]() |
| Comment Listen 80 out and add Listen YOUR-SECOND-IP:80. Don’t forget to save. | ![]() |
| Start / restart the Apache service, should the Svc checkbox no longer be checked, check it. | ![]() |
| The service should be running after a few seconds, if not check the event log. If it says something like no IP could be bound, you forgot to save the second IP. | ![]() |
| Open the PowerShell / cmd again and type netstat -an, your second IP should now be there too. | ![]() |
Testing it |
|
| Open a browser and enter your Apache-IP, XAMPP should show up. | ![]() |
| In the navigation click on phpinfo(), you will see that PHP works corretly, as well as MySQL | ![]() ![]() ![]() |
| As for MySQL, click on phpMyAdmin and you will see that everything works nicely. | ![]() ![]() |
| Now, for IIS, enter your IP and you should be greeted by this screen (or whatever is the current default page on your IIS) | |



























