With all of the posts related to running DNN on Brinkster, I thought it would be good to summarize the steps I used to get my site up and running.
1.) Get a premium account, something X4 or higher. If you get X4 or X6, remember to buy the SQL Server space. 15MB is enough to start. The DNN stock database takes approx 3MB.
2.) Purchase your domain name. I used GoDaddy. not bad. I had my name and DNS lookup in about 24 hours.
3.) Tell Brinkster about your domain name and point the DNS servers to ns1.brinkster.com, ns2.brinkster.com
4.) Before uploading DNN to Brinkster, do the following:
a.) Alter the Web.Config to match your database name(same as your account), Userid, and Password.
5.) Upload DNN to your account/webroot
6.) If you try to navigate to your site, you will get the generic page, default.htm. This file is in the root. I recommend leaving this active until you have configured and changed passwords.
7.) Navigate to site using http://www.yourname.com/default.aspx This will get the ball rolling. My site took about 90 seconds to get going to first time. Remember, the database is being built.
8.) Change passwords, screens, etc.
9.) Contact premium support and get them to grant "Write Access" to the directory under webroot\portals\GUID. The GUID directory is what you want. If you don't get access, you cannot upload any files through the portal.
That's about it. Now, let's say you want to add another portal. So, you get another domain name, www.yoursecondname.com. Here is what I did. Remeber, this is just what I did, milage may vary. Since Brinkster does not grant Create Directory to ASP, you need to do the following:
1a.) Alter the code is SIGNUP.ASCX. Remove the lines related to creating the GUID directory and the copying of PORTAL.CSS. The lines below are not comment here, but these need to be removed:
Private Sub cmdUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdUpdate.Click
.
.
.
dr = admin.GetSinglePortal(intPortalId)
If dr.Read Then
strEditRoles = dr("AdministratorRoleId").ToString & ";"
' create the upload directory for the new portal
System.IO.Directory.CreateDirectory(strServerPath & "Portals\" & dr("GUID").ToString)
' copy the stylesheet to the upload directory
System.IO.File.Copy(strServerPath & "portal.css", strServerPath & "Portals\" & dr("GUID").ToString & "\portal.css")
End If
dr.Close()
The CreateDirectory and File.COPY get commented. Yes, I know this creates a little havoc. Hold tight.
1b.) Rebuild the solution.
1c.) Upload the new DOTNETNUKE.DLL into the webroot\bin directory.
1d.) Login to original site using SuperUser signon.
1e.) Goto Host, Portals, Add new Portal
1f.) Fill in information for new Parent Portal.
2.) The site will now be redirected to the new name. If DNS is setup correctly, the site will work, just look very crappy because you don't have a style sheet.
3.) Using Enterprise Manager, or SQL from Brinkster's site, query the PORTALS table. Find your new portal, and locate the column called GUID. Copy this out.
4.) Create a directory using any FTP tool or Brinkster's file manager with the GUID name.
5.) Copy webroot\Portal.CSS into that directory.
6.) Refresh the site. Should be fine now.
7.) Remeber to ask for WRITE permissions to this new directory.
Again, this is what I did. In the words of LimpBizkit, Results May Vary.
Jerry
Spohn Software
www.spohnsoftware.com