Product: PowerShell Universal
Version: 3.4.4
Windows Server: 2019
I have a website “Default Web Site”, i want to create 2 nested sites, one for each department.
https:/myserverHost.domain.com/puDepartment1/login
https:/myserverHost.domain.com/puDepartment2/login
i am unable to get the base url to change in each application folder. I used “Convert to Application” and the site will not load, i get 404. I did however try to change my base href like some of the old “Universal Dashboard” articles, without success. If i could get 1 site to load, then i can work on the other.
i found a base href in \Modules\Universal\index.html and \UniversalAutomation\index.html
my single site runs on port https/443 with other apps on like https:/myserverHost.domain.com/podeApiStuff/
i tried to host it on an internal port, however i couldn’t get the URL Rewrite to work…
Currently i just get a blank page, nothing loads, and there are no errors in my logs.
Everything works if i create a new website and put PU in the wwwroot of that site and make it the ONLY thing it hosts, just like the video’s and the documentation explains to do.
I really hoped that this would help me: Nested IIS Site not working
To simplify things and get it off my main website, i created a new site on a different port, still cannot get it to work.
[19:14:42 INF] User profile is available. Using 'C:\Users\svc-account-dev\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2022-10-26 07:14:42 [INFO] (Hangfire.BackgroundJobServer) Starting Hangfire Server using job storage: 'Hangfire.MemoryStorage.MemoryStorage'
2022-10-26 07:14:43 [INFO] (Hangfire.BackgroundJobServer) Using the following options for Hangfire Server:
Worker count: 100
Listening queues: 'default', 'myservername'
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2022-10-26 07:14:43 [INFO] (Hangfire.Server.BackgroundServerProcess) Server eisportalapp01d:14360:6b35059b successfully announced in 84.6882 ms
2022-10-26 07:14:43 [INFO] (Hangfire.Server.BackgroundServerProcess) Server eisportalapp01d:14360:6b35059b is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler...
2022-10-26 07:14:43 [INFO] (Hangfire.Server.BackgroundServerProcess) Server eisportalapp01d:14360:6b35059b all the dispatchers started
[19:14:43 INF] Application started. Press Ctrl+C to shut down.
[19:14:43 INF] Hosting environment: Production
[19:14:43 INF] Content root path: E:\inetpubPU\wwwroot\puDepartment1
[19:14:43 INF] Request starting HTTP/1.1 GET http://localhost:8877/puDepartment1/login - -
[19:14:43 INF] Request finished HTTP/1.1 GET http://localhost:8877/puDepartment1/login - - - 200 - text/html 194.7977ms
[19:14:43 INF] Request starting HTTP/1.1 GET http://localhost:8877/puDepartment1/admin/static/css/16.0fe8871e.chunk.css.map - -
[19:14:43 INF] Request starting HTTP/1.1 GET http://localhost:8877/puDepartment1/admin/static/css/main.62c7aafc.chunk.css.map - -
[19:14:43 INF] Executing PhysicalFileResult, sending file 'E:\inetpubPU\wwwroot\puDepartment1\UniversalAutomation\static/css/16.0fe8871e.chunk.css.map' with download name '' ...
[19:14:43 INF] Executing PhysicalFileResult, sending file 'E:\inetpubPU\wwwroot\puDepartment1\UniversalAutomation\static/css/main.62c7aafc.chunk.css.map' with download name '' ...
[19:14:43 INF] Request starting HTTP/1.1 GET http://localhost:8877/puDepartment1/admin/manifest.json - -
[19:14:43 INF] Request finished HTTP/1.1 GET http://localhost:8877/puDepartment1/admin/manifest.json - - - 200 - text/html 7.0348ms
[19:14:43 INF] Request finished HTTP/1.1 GET http://localhost:8877/puDepartment1/admin/static/css/main.62c7aafc.chunk.css.map - - - 200 - text/plain 35.1213ms
[19:14:43 INF] Request finished HTTP/1.1 GET http://localhost:8877/puDepartment1/admin/static/css/16.0fe8871e.chunk.css.map - - - 200 - text/plain 35.3203ms
2022-10-26 07:14:54 [INFO] (Hangfire.Server.BackgroundServerProcess) Server eisportalapp01d:14360:6b35059b caught stopping signal...
2022-10-26 07:14:54 [INFO] (Hangfire.Server.BackgroundServerProcess) Server eisportalapp01d:14360:6b35059b caught stopped signal...
2022-10-26 07:14:54 [INFO] (Hangfire.Server.BackgroundServerProcess) Server eisportalapp01d:14360:6b35059b All dispatchers stopped
2022-10-26 07:14:54 [INFO] (Hangfire.Server.BackgroundServerProcess) Server eisportalapp01d:14360:6b35059b successfully reported itself as stopped in 0.3011 ms
2022-10-26 07:14:54 [INFO] (Hangfire.Server.BackgroundServerProcess) Server eisportalapp01d:14360:6b35059b has been stopped in total 203.0735 ms