I just went through the pain of trying to install DotNetNuke on a 1and1 shared hosting account (I think it’s called MS Business or something like that). Probably could have figured things out faster if I wasn't a first timer with DNN and Asp.net. After two weeks of searching the web for anyone else who has had problems and being on the phone a million times with tech non-support, I finally figured it out with the help of one of their techs who knew more than the others and painful trial and error.
Here are Buddha's instructions for configuring DNN with 1and1's hosting package…
First off, they are running ASP.Net 1.1 which means you can't run version 4. 1and1 claims that only 3.0.13 will work but once I figured things out and got 3.0.13 working, I deleted everything and installed 3.2.2 straight out of the box and it worked fine.
Create the folder in your root that you want to run DNN from. I called mine "ftu.net". After creating your folder, call 1and1’s support line and ask them to make this folder an application folder. I don’t recommend calling late at night because I think this is the first place things didn’t go right.
Next, point the domain you want to run DNN on to the root of your 1and1 account. Since my client still had an older site, I put a redirect page into the root as well. This will come in handy later as well. Below is mine as an example.
<%@ language="VBSCRIPT" %>
<html>
<head>
<%EnableSessionState=False
host = Request.ServerVariables("HTTP_HOST")
if host = "buddhasparadise.org" or host = "www.buddhasparadise.org" Then
response.redirect("http://www.buddhasparadise.org/ftu.org/")
Elseif host = "myhostname.com" or host = "www.myhostname.com" Then
response.redirect("http://www.myhostname.org/ftu.com/")
Else
response.redirect("http://www.s123412341234.onlinehome.us/error.htm")
End If
%>
<title>Redirect Page</title>
</head>
<body></body>
</html>
Download the version of Dot Net Nuke you was to play with.
Unpack it and rename the release.config to web.config.
Make the following changes (note: this is straight from 1and1’s FAQ)
Change the database settings in the Web.config from
<add key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=;pwd=;" />
to
<add key="SiteSqlServer" value="Server=mssql01.1and1.com;Database=db123456789;uid=dbo123456789;pwd=xxxxxxxx;" />
Enable impersonation.
<identity impersonate="true"/> already exists in the Web.config file,
but it is commented out. Un-comment it by removing <!-- It should look as follows:
<identity impersonate="true"/>
<!--
<authentication mode="Windows">
</authentication>
-->
Disable changes in maximum file size. (Very important!)
The tag <httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" />
has to be commented out. Use <!-- and -->
Change database owner.
In the section <data defaultProvider="SqlDataProvider">, the string
databaseOwner="dbo" has to be replaced with databaseOwner="dbo123456789" (the
database username). On the line above this change I also added a qualifier of “ftu_” because my client requested multiple sites in the same DB. This will help me keep things straight.
Now upload the whole folder on to your server using any FTP program. It may take
a while to upload as it is about 30MB in size.
Upload the Bin folder into the root of your 1and1 account.
You have to allocate write/modify(delete) permissions to the folders you uploaded.
So launch Webfiles and give write/modify(delete) permissions to "IUSR" and "NETWORK".
Make sure you select "All Folder and files" from the drop-down menu)
They told me numerous times that you have to put the web.config into the root as well. I found that this actually caused errors in DNN after the initial install because two different web.config files are being read and only one of them has your authentication key. Since I fully plan on having multiple DNN sites, I deleted the one in the root and things have been working great since. I don’t think I would put it in the root again.
Now you are ready to install DNN. When you type in your address http://www.buddhasparadise.org, it is going to now point to the root. So just add the folder name on the backend to where your .net is installed. http://www.buddhasparadise.org/ftu.net. If you have done everything correctly then the install will start going.
Once you are all the way done configuring and ready to go live, change your redirect page to point to the DNN folder.
if host = "buddhasparadise.org"or host = "www.buddhasparadise.org" Then
response.redirect(http://www.buddhasparadise.org/ftu.net/)
Please feel free to add/remove from these instructions if anyone has found a better way…