Last post Nov 09, 2019 04:45 PM by bruce (sqlwork.com)
Nov 09, 2019 05:31 AM|joealanis|LINK
After a lot of tinkering, I was able to publish a MVC Web App onto a folder in my Mac, I run the program and I'm able to see the app in safari on the address https://localhost:5001
What steps would you recommend in order to have the app have its unique domain name and make it available on the web?. I want to host it in my own computer for now.
Is there any way to connect an apache web server to my MVC app? I'm a little lost in this regard.
Nov 09, 2019 10:37 AM|maherjendoubi|LINK
Nov 09, 2019 03:35 PM|lextm|LINK
Is there any way to connect an apache web server to my MVC app?
You just need slight modification to run the steps on a Mac, https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-apache?view=aspnetcore-3.0
Nov 09, 2019 04:45 PM|bruce (sqlwork.com)|LINK
With a Mac you use launchd and launchctl instead of sytemd to host the mvc app. You can reverse proxy with Apache as the Linux instructions, use ngnix or if it’s the only mvc app run the app on port 80.
making the app available to the internet requires the following: