I have successfully configured IIS 7 in order to display phpMyAdmin correctly on top, so that when I run http://mydomain/phpmyadmin it works.
I also have GlassFish running on the same Windows Server 2008 on port 8080 for http and 8181 for https (using temporarily the auto-generated glassfish self certificate).
In order to forward the requests to these ports automatically to GlassFish, I have done the following in IIS:
- Create server farm
- Given the name GlassFish
- Server address: localhost
- Clicked on Advanced settings. Expanded applicationRequestRouting node. Edited the available ports and clicked Finish
- Clicked Yes to the request of creating the URL rewrite rule
Well, after these steps, I have the following problems:
- all requests are forwarded to glassfish ports, and I cannot run
phpMyAdminanymore - the https sites don't work either, probably because
IISis not aware ofGlassFishcertificate