Overview
If you would like to specify a domain to map the Portal to the main IIS binding, it is needed to change the primary Portal Alias. Be aware that changing the primary alias will affect how the application redirects requests between Portals and in some cases will affect localization.
Prerequisites
- A host/superuser account. Hosts have full permissions to all sites in the DNN instance.
Solution
Note: The current site alias you are accessing the site with, cannot be edited, deleted, or set as the primary. Log in to the site using a different site alias to edit or delete the currently used alias.
Click/Tap Set Primary.

If you want the site to have no primary alias, edit the current primary alias and click/tap Unassign Primary. This will, however, force the application to use the default Portal Alias as the temporary Primary Alias. The default portal alias can be found by running the below query against the database:
- SELECT * FROM PortalSettings WHERE SettingName = 'DefaultPortalAlias'
Note: Changing the primary alias will affect redirection for the other aliases that have been defined on your site, especially if you have localization enabled.
Comments
0 comments
Please sign in to leave a comment.