Table of Contents

Mono on Linux VPS to support ASP.NET website

I started to work with ASP.Net technology since 2009. I found C# is much better then PHP, although PHP work faster.

But C# is much better to debug, to use other good technologies like Ajax. And the last thing about ASP.Net – it allow to create the powerful desktop-like application using website.

And what VPS is better? Windows or Linux?

Let's try to learn features of both of them.

Windows VPS

Ok. Windows 2003 server with 768Mb of RAM, 4Gb HDD, and the processor about 1GHz – is enough for average ASP.Net website.

The average price of this VPS is about 35$/mo. With any admin panel – +10-12$. As result we have about 45$/mo for the virtual private server where we can run simple application.

The main problem of the Windows VPS (I had a bad experience) – a lot of viruses infect windows VPS and it's impossible to do something without a powerful antivirus (about 20$/mo). As result the price of VPS is grow again.

The advantages:

The lacks:

Linux VPS

CentOS 5+ or Ubuntu 4+ with 2Gb of RAM, 50Gb HDD, the processor from 1GHZ – is enough to run an ASP.Net website under the Mono.

The average price of this VPS is about 19$/mo. Free webmin admin panel could be used – 0$. As result we have about 19$/mo for the virtual private server where we can run ASP.Net application.

Linux is powerful & reliable operation system where it's possible to run a lot of other things.

The advantages:

Ok. We'll not compare system, we'll consider installation Mono on CentOS.

  1. Take from Mono website or use its SVN
  2. Compile
  3. Install mod_mono with apache
  4. Use