Be sure you have setup Multitenancy according to this article.
Once you have Multitenancy Installed you will need to installed if you are on AuthAnvil Version 5.5 you will need to apply 2 small hotfixes.
First apply the Two Factor 5.5 Hotfix following this article.
If you are an active Partner please open a case with us at the Help Center to obtain the most recent version of the Multitenancy hotfix.
Configuring IIS for 2 Separate SSL Certificates.
Once you have Multitenancy installed and the Hotfixes applied.
You will want to make sure you have your SSL Certificates configured properly.
If you already have an SSL Cert using HTTPS Bindings on Port 443
You will need to configure you Second SSL cert on a different Port such as but not limited too Ports: 4443, 4445, etc.
If this was done after the fact you installed the site you will need to update the BASE URL in a couple of places to reflect the port change.
Note: If you are using a Wild Card Certificate you will still need to specify HTTPS Bindings on port 443 if available. However when addining additional sites you will only need to pick a unique variable to create a Unique FQDN. No other IIS configuration is required. Example of Unique Variable Below.
Site 1 = https://auth.scorpionlabs.com
Site 2 = https://secure.scorpionlabs.com
Changing Base URL in the Database.
If you have SQL Management Studio Installed open it up and connect to the Anvil Database.
-If you need to install SQL Management Studio you can find the download here.
Once you have connected to the AuthAnvil Database.
- Expand Anvil.
- Expand Tables
- Search for dbo.Settings Table. Right Click and "Edit Top 200 Rows"
Once you are in the dbo.settings table expand the BASE URL field so you can see all the Data.
Edit the Base URL to reflect the port. It should look like the example below.
After you have configured IIS and Made the changes in the Databse. Perform an IISRESET
- Open up an Elevated Command Prompt and type "iisreset" and hit enter.
- Open up IIS Manager > Right hand Pane select Restart.
Once this is done confirm you can log into both for the AuthAnvil Sites navigating to their specific URLS
- Site 1 = https://auth.scorpionlabs.com
- Site 2 = https://secure.scorpionlabs.com:4443