Mono Support Support for shared hosting 

Viewed 18782 time(s), 2 post(s), 9/11/2010 10:18:57 PM - by Lunims
9/11/2010 10:18:57 PM
0 Reputation 1 Total posts

I experienced some issues with file system privileges while trying to run MonoX on a shared hosting provider. Can it run on a shared host or does it require dedicated server or VPS?

1
4/12/2011 8:26:19 PM
7207 Reputation 956 Total posts

MonoX fully supports shared hosting scenarios. It usually requires that you set the file access privileges using the control utility, or to manage the impersonation settings. This is needed for page management, portal settings, file upload, and related management screens.

The exact steps involved in setting the file access privileges depend on the control panel used, so please look into your manual.

Impersonation can be explained on a simple example: GoDaddy and many other hosters provides you with a domain username (typically in the following format: HOSTING\username) and password that can be used for impersonation. Just add the following in the web.config:

<system.web>
    <identity impersonate="true" userName="HOSTING\myUserName" password="myPassword"/>
</system.web>


Please note that you don't have to do this in the root web.config. To minimize the security issues, this section can be entered in a web.config that is placed in a child folder, allowing you to have full file write permissions for that folder only. Additionally, the whole section containing the impersonation data should be encrypted.

To get even more control, you may consider hosting your portals with hosting companies that support full trust model, although it is technically not neccessary for MonoX. I'll name just a few: ArvixeDiscountASP.Net, DotNetPark, and, of course, Mono Software :)

2
This is a demo site for MonoX. Please visit Mono Software for more info.