Here is my current setup:
- My Local Computer: This is where I created and programmed my ASP.Net WebForms project with Cloudflare Flexible SSL enabled using visual studio 2015 professional on Windows 10. I also have the team explorer enabled meaning my project is synced to Github and all of my files are also stored there in my own repository.
- My Server Computer: Running Fedora 24, I've installed
the dotnet CLI (a.k.a .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, the dotnet cli relies on a project.json
and is not compatible with WebForms. .Net Core is basically not an option. When I use mod_mono, I get an Error 500
(see below) if I connect to https://localhost:9000/ while running the server using the command xsp4 --port 9000
. I can't use xsp4 --port 80
or xsp4 --port 443
because then it claims Address is already in use
even though httpd
is the only process listening on those ports. Note that I can sucessfully build the project using the xbuild
command.
How can I take my project from github or my local computer and deploy it on to my server computer? Am I missing something? Here is my virtual hosts configuration for reference: httpd.conf. I typically get no errors when starting httpd.service.
EDIT:
I've also used nginx
with fastcgi-mono-server4
with this configuration instead with nginx, which I got straight from here, but still no luck. I usually get this Error 500
: other times I can get other types of Error 500
. If there is a solution that works with either apache or nginx, please let me know.
Your code is Full NET and not even NET Core and trying to deploy it to Mono Framework. This may not work, Convert your project into Mono or NET Core and retry.