title: Deploying ASP.Net Web Forms project to Fedora 24
body: <p>Here is my current setup:</p>
  
  <ul>
  <li>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.</li>
  <li>My Server Computer: Running Fedora 24, I've installed <s>the dotnet CLI (a.k.a .Net Core),</s> apache (httpd), nginx, and <a href="http://www.mono-project.com/docs/web/aspnet/" rel="nofollow noreferrer">Mono for ASP.Net</a>. I want to deploy/publish and host my webforms project on this computer in the default web directory (/var/www/html/mysite/)</li>
  </ul>
  
  <p>The problem is, the dotnet cli relies on a <code>project.json</code> and <strong>is not compatible with WebForms</strong>. .Net Core is basically <strong>not an option</strong>. When I use mod_mono, I get an <code>Error 500</code> (see below) if I connect to <a href="https://localhost:9000/" rel="nofollow noreferrer">https://localhost:9000/</a> while running the server using the command <code>xsp4 --port 9000</code>. I can't use <code>xsp4 --port 80</code> or <code>xsp4 --port 443</code> because then it claims <code>Address is already in use</code> even though <code>httpd</code> is the only process listening on those ports. <strong><em>Note that I can sucessfully build the project using the</em></strong> <code>xbuild</code> <strong><em>command</em></strong>.</p>
  
  <p>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: <a href="http://pastebin.com/JBeDNT8q" rel="nofollow noreferrer">httpd.conf</a>. <strong>I typically get no errors when starting httpd.service.</strong></p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I've also used <code>nginx</code> with <code>fastcgi-mono-server4</code>  with <a href="http://pastebin.com/cUt1ZMFv" rel="nofollow noreferrer">this</a> configuration instead with nginx, which I got straight from <a href="https://www.nginx.com/resources/wiki/start/topics/examples/mono/" rel="nofollow noreferrer">here</a>, but still no luck. I usually get this <code>Error 500</code>:<a href="http://pastebin.com/cUt1ZMFv" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pwO4z.png" alt="error"></a> other times I can get other types of <code>Error 500</code>. If there is a solution that works with either apache or nginx, please let me know.</p>