Skip to content
ASP .NET on Apache with Mod Mono - Free .NET hosting
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


ASP .NET on Apache with Mod Mono - Free .NET hosting

Mono has an open source implementation of ASP.NET 4.5, ASP.NET MVC and ASP.NET AJAX that can be used to host ASP .NET web applications on Linux. This provides a great free alternative to Microsoft's .NET stack. Apache is used to pass off requests for ASP.NET pages to the embedded Mono application server.

This appliance includes all the standard features in TurnKey Core, and on top of that:

  • Apache ASP .NET hosting using mod_mono, a module that allows Apache to serve ASP .NET applications.

    • mod_mono and associated packages and dependencies are installed direct from Xamarin apt repo.
    • mono-server4 is configured to use /var/www as the webroot
    • Includes a MySQL .NET Connector.

    Security note: Updates to Xamarin packages may require supervision so they ARE NOT configured to install automatically. See below for updating.

  • Interactive Mono CSharp shell.

  • TurnKey Web Control panel with links to useful references and resources, and ASP .NET example pages.

  • SSL support out of the box.

  • Postfix MTA (bound to localhost) to allow sending of email (e.g., password recovery).

  • Webmin modules for configuring Apache2, MySQL and Postfix.

Supervised Manual Mono Updates

To upgrade to the latest version of mod_mono, etc from the command line:

apt-get update
apt-get install libapache2-mod-mono mono-apache-server4

Credentials (passwords set at first boot)

  • Webmin, SSH, MySQL: username root
You can’t perform that action at this time.