Am I wrong that there are no options for virtual hosting/directories? Not even sure if this would be possible.
I did come up with a method though.
Create DNS records:
CNAME of helpdesk.domain.com pointing to server URL.
CNAME of devteam.domain.com pointing to server URL.
A dashboard with simply a forward-slash for a URL (/) and then coded as follows:
New-UDDashboard -Title 'Redirecting...' -DisableThemeToggle -Content {
Switch -Wildcard ($Headers.windowLocation) {
'*helpdesk*' { Invoke-UDRedirect -Url 'https://helpdesk.domain.com/helpdesk/Home' }
'*devteam*' { Invoke-UDRedirect -Url 'https://devteam.domain.com/dev/Home' }
}
}
Works well, but I wonder if others have any suggestions.