Monorail on WebHost4Life

If anyone else is using hosting with WebHost4Life, I’ve gotten a Monorail site up there pretty quick using the MonoRailHttpHandlerFactory in my web.config, as suggested by the Castle Monorail installation documentation Please note that the documentation has .ashx, it should be .aspx

I’ve also put in a support ticket to see if WebHost4Life will add the .rails extensions to the known ASP.NET extensions.  I’ll update this post if it goes through.

UPDATE:  WebHost4Life was kind enough, after 2 help tickets, to add the .rails extension to the known ASP.NET extensions.  It works now.  They tried to get me to add a mime type for my specific domain ( and that did not work.  Mime type of text/html and extension of .rails failed.  If they ask you to do that, it will not work.

If you’re hosting company is not kind enough to add the extension, then the following will help:

With using the MonoRailHttpHandlerFactory, you just replace the .rails extension with .aspx. (Look at documentation link above)

Example:  instead of

I’ve been working on a small website for a local San Antonio mom&pop shop and decided to go with Monorail.  I’m not an expert by any means, just finally trying to grok this stuff.

About Jason Meridth

Continuously learning software developer trying to not let best be the enemy of better
This entry was posted in castle, hosting issues, monorail, Programming. Bookmark the permalink. Follow any comments here with the RSS feed for this post.

5 Responses to Monorail on WebHost4Life

  1. Glenn says:

    Freaky…I just put in the support request as well. Nice to know they” do it.

  2. If they tell you that you need to upgrade, they are incorrect. That is why I had to submit a second ticket. Don’t let them talk you into an upgrade.

  3. Jacky says:

    Webhost4life is definately the best hosting company i use so far. Their price is cheap and their support is awesome. Webhost4life ROCKS! Keep up the good work guys =) I am referring customers to you for sure.

  4. Jordan says:

    I’ve been with webhost4life for several years, those guys make me impressive and life easily. I always

    introduce my friends and my colleagues to host with them;
    This is my blogs “”; if you want to host your website with them, you may refer to the
    to review their website.
    you can get a live chat with the guys.Hehe
    Jordan L.

  5. Ryan says:

    I too have something to say about this company. Hope this is helpful.

    WebHost4Life is clearly the best Windows based Web host service I know of. But to say this actually surprised myself, because I have been trying to find a “better” host company and moved away from WebHost4Life in the past year and half. I looked for alternative providers not because of any bad service I see, but because the bad ratings I see from online forums abut Webhost4Life. Now after trying 4 other Windows hosting providers, I can confidently say that WebHost4Life stands out among competitions and I will be a happy customer for a long time to come.

    WebHost4Life has many advantages over the competitions, and what I specifically like is the flexibility they provide for the site mangers. For example, their Control Panel web site is more user-friendly and much faster than those of other providers I tried. (most other providers use Plesk what I just hate! Too slow!!) For SQL Server hosting, the Control Panel allows site mangers to backup and restore SQL Server databases in a DIY-way without having to submitting a support ticket. This is very convenient. Plus, their online support has always been prompt and helpful. I highly recommend WebHost4Life.

    The site I host with WebHost4life is We have high hope for this site (we hope it is the next big thing to come) and have worked hard to find the best web hosting provider. I can confidently say that WebHost4Life is the one!