By default GroupID is configured on the server with port bindings set to 4443 for HTTPS and another randomized port for HTTP. GroupID Data-Service and Self-Service Portals are also created and configured to work with the same port bindings. However, some customer environment and policies might have exceptions and require different port combinations, which can be accomplished, keeping in mind the sensitivity of the changes.
This article explains, how this can be accomplished without any disruption in the configured services.
To see the default configurations go to
IIS Manager > Sites > GroupIDSite > Right Click > Edit Bindings > Site Bindings Box
Here you would be able to see the port number for HTTP is set to a random port and for HTTPS you will always find (the default setting is set to) 4443 as shown in the image above.
With this default configuration the URL of Self Service Portals will be https://hostname:4443/portalname.
Now let’s suppose that you have a portal called FFFT with a URL: https://demo-8s:4443/ffft/ as per default configurations, and now you would like to change the port bindings and set it to port 80 and 443 respectively. There are three steps involved.
- Changing ports in IIS.
- Reconfiguring GroupID.
- Updating the database record for the old portals.
Changing Ports in IIS
Close the GroupID MMC and go to IIS Manager > Sites > GroupIDSite > Edit Bindings > Site Bindings Box.
- Select http > Edit > Edit Site Bindings Box > Change the port number to 80.
Select https > Edit > Edit Site Bindings Box > Change the port number to 443.
After making the changes Site Bindings Screen would look like the following
Close the box to save the configuration, restart the IIS Server and now open the GroupID MMC. As soon as you open the GroupID MMC it will present you with a configuration wizard, click next until you reach GroupID Services Configuration screen like the one shown below. On this screen in Advanced Options set the Port Number to 443 and Host Name to GroupID Server name and proceed with Next until you finish the wizard.
Updating Database Record for Old Portals
Open SQL Management Studio > Databases > Your GroupID Database > Tables > SVC Client > Edit Top 200 Rows
Look for the record with your portal name, which in our example case happens to be FFFT. You will see that the URL’s in Return URL, Error URL and Realm columns still have port number 4443. Simply edit and remove the port number part from the URL’s as shown in the image below:
Save the changes and go to your Self Service portal that was created with old bindings and you will see that the port number from the URL is gone and the URL that was https://demo-8s:4443/ffft/ is now https://demo-8s/ffft/.
Open the portal in your browser and login.