Here is my current setup:
- My local computer: here I created and programmed an ASP.Net WebForms project using Cloudflare Flexible SSL, which was enabled using visual studio 2015 professional in Windows 10. I also have an explorer command, which means that my project is synchronized with Github and all my files are also stored there in my own repository.
- My server computer: running Fedora 24, I installed
dotnet CLI (aka.Net Core), apache (httpd), nginx and Mono for ASP.Net . I want to deploy / publish and host my webforms project on this computer in the default web directory (/ var / www / html / mysite /)
The problem is that dotnet cli relies on project.json , and is not compatible with WebForms ..Net Core is basically not an option . When I use mod_mono, I get Error 500 (see below) if I connect to https: // localhost: 9000 / while the server is running using the xsp4 --port 9000 . I cannot use xsp4 --port 80 or xsp4 --port 443 because then it claims Address is already in use , although httpd is the only process listening on these ports. Please note that I can successfully create a project using the xbuild .
How can I take my project from github or my local computer and deploy it to my server? Am I missing something? Here is my virtual host configuration for reference: httpd.conf . Usually I get no errors when starting httpd.service.
EDIT:
I also used nginx with fastcgi-mono-server4 with this configuration instead of nginx, which I got right from here , but still no luck. I usually get this Error 500 :
in other cases, I can get other types of Error 500 . If there is a solution that works with apache or nginx, let me know.
source share