This project is read-only.

Anyone hosting with GoDaddy?

Topics: Developer Forum
Apr 2, 2009 at 12:11 PM
Edited Apr 2, 2009 at 12:12 PM
I am running N2-based site with another hosting company that offers Windows hosting in medium trust mode.under shared application pool.

Can anyone here confirm that I will be able to transfer this site to GoDaddy without problems? Is anyone here running their site with GoDaddy? What are your experiences?
Apr 2, 2009 at 9:55 PM
You might find this thread of interest. My conclusion is that in the end it worked but please let me know otherwise. There are some hints on the wiki as well. I've verified myself that it can run on discountasp.net.
Apr 15, 2009 at 9:05 AM
Edited Aug 22, 2009 at 11:44 PM

I can confirm that current version of N2 from SVN works on GoDaddy Windows Shared hosting without any problems. I uploaded all the files, ran installer from web browser and it completed succesfully. After that I created a couple of pages and everything was working without any apparent problems.

I think it would be very good idea to make a list of hosting companies that support N2 installations. However, from my experience with various hosting companies, GoDaddy is one of the most restrictive, and usually if some site works there, there is a good chance it will run on almost any shared hosting.
Ok, here is initial list, it would be great if other people could reply so we could have this list as soon as possible.
List of confirmed Shared Hosting providers supporting N2 installations
  • http://www.re-invent.com/
  • http://www.avalon.hr/
  • http://www.drundo.net/
  • http://www.godaddy.com/
  • http://www.arvixe.com/
Apr 16, 2009 at 9:33 PM
Good to know. I added a link to this page.
Jun 2, 2011 at 8:48 PM

I have my N2 CMS using .Net 4 and MVC running at http://www.erudeye.net/ (basic package shared hosting)

I could actually install N2 via the web-setup panel.

Jun 3, 2011 at 3:58 PM

I was with GoDaddy for a while and it worked, but I agree with milicicd, they are kind of restrictive and not responsive to any non-standard customer request. Also, the last time I checked (just a few months ago) they only supported SQL Server 2005, which may affect you if you have special needs, but not if using only N2's tables.

Another one that is confirmed to run multiple N2 websites in Canada (as well as offer English/French service) is: http://www.lastationinternet.com. They are very responsive to "special needs" also, and run SQL Server 2008 :) So they are a good option in Canada (particularly for French Quebec).

 

Apr 24, 2012 at 5:14 PM

@LouisSomers:

We've just hired Erudeye and almost everything is Ok, except that the App Pool size (IIS) is 100MBs. A person from Erudeye tolds us that our app is consuming 130MBs. So it's restarting almost every minute. A little slow for some users, but completly unusable for editing. Do you have the same problem? We're using Asp.Net 3.5... I don't know if Net4 has better performance.

@libardo:

Do you think that Net4 has better performance? Do you have any idea why is consuming so much? We've disabled caches and enabled outputcache, as it's little personalized.

Thanks!
@SntsDev

Apr 24, 2012 at 6:03 PM
Edited Apr 24, 2012 at 6:03 PM

Also check out Elix Technologies which is receptive to special needs and is optimized for N2.  Elix is geared towards business-grade hosting but they will work with you to build a package that is just right for your needs. Disclaimer: I'm one of the co-founders of the company -- but at least you know where to find me :-)

Deep link: http://elixtech.com/web-hosting/web-applications.aspx

/Ben

Apr 25, 2012 at 8:13 AM

im hosting in godaddy and i dont have any problem with it execpt the editing inside the website if you want i can help you

Apr 25, 2012 at 3:21 PM

@SntsDev:

I don't have the small app pool problem, but I'm running on .Net 4.0 (integrated pipeline), and I'm using the MVC templates.

I'm not sure if caching has an influence on the App pool? (I noticed some caching stuff in the RSS-feed-display-widget).

Apr 25, 2012 at 4:39 PM

@SntsDev:

I almost forgot: be sure to set a Machine key in your web.config or you will loose your session all the time! (IIS appears to be running on a cluster). Do a search on "machine key web.config" for examples / instructions. Whenever a different machine in the cluster handles the request, it resets the session logging you out. Setting the Machine key will prevent that from happening.

Apr 25, 2012 at 5:17 PM

100 MB might be a bit scarce. .NET framework assemblies alone eats a lot of that.

Jun 13, 2012 at 12:48 PM

Hi, just to tell you that we managed to get it running smoothly in Erudeye. We had to pay an extra amount of 120€ euros for having 300MBs.

We tried .Net4 and it required a little bit more of memory. So we kept 3.5.

Here is the project: www.pineda.es

Thanks to all.

Jun 13, 2012 at 5:35 PM

the website is very wonderful i like the banner if you can share the code for as well be wonderful

for your problem here is the code as for me im used and work perfect for me 100% as im using godaddy since 1 year with over 10 hosting link n2cms

 

<?xml version="1.0"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=152368
  -->

<configuration>
	<configSections>
		<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" requirePermission="false" restartOnExternalChanges="true"/>
		<sectionGroup name="n2" type="N2.Configuration.SectionGroup, N2">
			<section name="host" type="N2.Configuration.HostSection, N2" requirePermission="false" restartOnExternalChanges="true"/>
			<section name="engine" type="N2.Configuration.EngineSection, N2" requirePermission="false" restartOnExternalChanges="true"/>
			<section name="database" type="N2.Configuration.DatabaseSection, N2" requirePermission="false" restartOnExternalChanges="true"/>
			<section name="edit" type="N2.Configuration.EditSection, N2" requirePermission="false" restartOnExternalChanges="true"/>
		</sectionGroup>
    	</configSections>
  
  <connectionStrings>
    <add name="N2CMS" connectionString="Data Source=xxxx;Database=xxx;uid=xxx;Pwd=xxx;" providerName="System.Data.SqlClient" />
  </connectionStrings>

  <n2 xmlns="http://n2cms.com/schemas/configuration/v3">
		<!-- If you install a database from scratch you'll need to insert some required pages. 
			This can be done by the web based installer located at http://yoursite/n2/installation/ -->
		<host rootID="1" startPageID="2" multipleSites="true">
			<web extension="" />
			<!--<resources debug="true"/>-->
			<vpp />
		</host>
		<engine>
			<assemblies>
				<!-- These assembly declarations are necessary in MEDIUM TRUST -->
				<add assembly="Dinamico"/>
			</assemblies>
			<!-- Update email to receive error reports -->
			<errors action="Email" mailTo="" mailFrom="noreply@yourdomain.com" />
			<!-- Globalization requires you to create additional start pages with a language -->
			<globalization enabled="true" />
		</engine>
		<!-- Other flavours: SqlServer2005, SqlServer2000, MySql, SqLite, SqlCe, Firebird -->
		<database connectionStringName="N2CMS" flavour="AutoDetect" caching="true" cacheProviderClass="NHibernate.Caches.SysCache2.SysCacheProvider, NHibernate.Caches.SysCache2">
      <search enabled="true"/>
      <hibernateProperties>
				<add name="show_sql" value="true"/>
			</hibernateProperties>
		</database>
		<edit>
      <paths managementInterfaceUrl="/n2/"/>
      <!-- Set checkInstallationStatus to false to disable redirect to install page -->
			<installer checkInstallationStatus="false" />
			<writers dynamic="true"/>
			<editors dynamic="true"/>
			<administrators dynamic="true"/>
			<images>
				<sizes>
					<add name="thumb" width="50" height="50" mode="Fit"/>
					<add name="cube" width="150" height="150" mode="Fit"/>
					<add name="wide" width="960" height="480" mode="Fit" />
					<add name="half" width="450" height="300" mode="Fit" />
					<add name="third" width="300" height="200" mode="Fit" />
				</sizes>
			</images>
			<!--<versions maximumPerItem="1"/>-->
		</edit>
	</n2>
	
	<log4net configSource="N2\log4net.config" />

  <appSettings>
    <add key="ClientValidationEnabled" value="true"/> 
    <add key="UnobtrusiveJavaScriptEnabled" value="true"/> 
  </appSettings>

  <system.web>
    <sessionState mode="InProc" />
    <httpRuntime requestValidationMode="2.0"/>
    <customErrors mode="Off"/>
    
    <compilation debug="true" >
      <assemblies>
        <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      </assemblies>
    </compilation>

    <authentication mode="Forms">
			<forms loginUrl="n2/login.aspx" timeout="2880">
				<credentials passwordFormat="Clear">
					<!-- WARNING: Change this default password. Please do it now. -->
					<user name="admin" password="xxxxx" />
				</credentials>
			</forms>
    </authentication>

		<!-- These membership and role providers store their data as content items. You can also use the forms authentication 
				 credentials only (then remove these sections) or the default ASP.NET providers (search for asp.net membership) -->
		<membership defaultProvider="ContentMembershipProvider"><providers>
			<add name="ContentMembershipProvider" type="N2.Security.ContentMembershipProvider, N2.Management" passwordFormat="Hashed" />
		</providers></membership>
		<roleManager enabled="true" defaultProvider="ContentRoleProvider"><providers>
			<add name="ContentRoleProvider" type="N2.Security.ContentRoleProvider, N2.Management" />
		</providers></roleManager>
		<profile defaultProvider="ContentProfileProvider"><providers>
			<add name="ContentProfileProvider" type="N2.Security.ContentProfileProvider, N2.Management" />
		</providers></profile>

    <pages enableViewState="false" validateRequest ="false " >
      <namespaces>
        <add namespace="System.Web.Helpers" />
        <add namespace="System.Web.Mvc" />
        <add namespace="System.Web.Mvc.Ajax" />
        <add namespace="System.Web.Mvc.Html" />
        <add namespace="System.Web.Routing" />
        <add namespace="System.Web.WebPages"/>
      </namespaces>
    </pages>
		<httpModules>
			<add name="n2.initializer" type="N2.Web.InitializerModule, N2" />
		</httpModules>
  </system.web>

  <system.webServer>
    <httpErrors errorMode="Detailed" />
    <asp scriptErrorSentToBrowser="true"/>

    <validation validateIntegratedModeConfiguration="false"/>
		<modules runAllManagedModulesForAllRequests="true">
			<add name="n2.initializer" type="N2.Web.InitializerModule, N2" />
      <add name="Detector"  type="FiftyOne.Foundation.Mobile.Detection.DetectorModule, FiftyOne.Foundation"/>
		</modules>
  </system.webServer>

  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>

	<location path="N2">
		<system.web>
      <customErrors mode="Off"/>
      <compilation debug="true"/>

      <httpRuntime requestValidationMode="2.0" />
		</system.web>
	</location>
</configuration>