Just switched to SubText 1.9.5

Update: Google Analytics tells me that people are coming to my blog for information about installing Subtext on GoDaddy's servers. Because I'm such a wonderful person, I'm adding instructions for how to do this. (7-4-07)

Update 2: Mikeas has posted more detailed instructions on how to modify the Web.config that comes with Subtext, including a couple of things that I had forgotten to mention (like e-mail). You can view his instructions here.

I used to be on dasBlog, but it was difficult to install onto GoDaddy's servers, and the version I was using didn't have support for ASP.NET 2.0 (which is needed for some other development that I want to do), so I switched to SubText.

With any luck, I'll actually get around to posting real content here in the future...

Installing SubText on GoDaddy's Servers

This wasn't originally what I had intended to blog about, but it seems to be why people are coming to my site right now, so here's how I did it. For the sake of completeness, I'm using GoDaddy's Deluxe Windows Hosting for this site, and it runs me about seven bucks a month.

  1. Log into your GoDaddy account; then, go to My Account -> Hosting & Servers -> My hosting account -> Open Control Panel.
  2. Go to Settings -> ASP.NET Runtime
    1. Open the properties for Content Root and make sure that your ASP.NET version is 2.0. If you have to change it, be aware that it may take some time for GoDaddy to update its servers, and it's not a terribly great idea to upload files to your server until this is done.
    2. Create a directory (I'm assuming you'll call it 'blog'). Give it Read, Web, Write, and SetRoot permissions.
    3. If you want to use Photo Galleries or the MetaWeblog API's MediaObject, you'll also need to create a directory called blog/Images and make sure that it has similar permissions (I haven't actually done this part, since the setup guide at http://www.subtextproject.com/Home/About/Docs/Installation/tabid/111/Default.aspx says it's optional)
    4. Be aware that steps 2 and 3 may take a while to complete on GoDaddy's end. I don't recommend uploading files until the Control Panel says that everything is up to date.
  3. Go to Databases -> SQL Server
    1. Create a database that uses SQL Server 2005. Most of the settings won't matter a whole lot, but you'll want to make sure that you remember the password, at least for a few minutes. :)
    2. Once the database is set up, grab the ODBC connections string for your new database (you can find this by going to the details page of the new database and clicking the configuration button). Remove the "Driver" attribute from this string, and put your password into it.
  4. Modify Subtext's Web.Config file and insert the connection string that you got in step 3. The location for this should be somewhere around line 40. The name of the string is "subtextData".
  5. Once GoDaddy is done setting up all of your directories and databases, ftp to your site and upload all of your content into /blog.
  6. Navigate to http://yourdomain.sometld/blog. Subtext should make the rest of the process easy.

A note about automatic redirecting:

For whatever reason, GoDaddy has elected to not allow you to change the ASP.Net permissions on your root folder, and 404 redirects won't work for visiting http://yourdomain.sometld/. If, like me, your blog is the primary content on your site, and this is the first thing that you'd like visitors to see, you can configure a Default.aspx that will redirect people to http://yourdomain.sometld/blog. Here's what mine looks like:

<%@ Page language="c#" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

<html>
  <head runat="server">
    <title></title>
    <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
    <meta name="CODE_LANGUAGE" Content="C#">
    <meta name=vs_defaultClientScript content="JavaScript">
    <meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
  </head>
  <body MS_POSITIONING="GridLayout">
    <form id="Form1" method="post" runat="server">
  <% Response.Redirect("http://www.fallingcanbedeadly.com/blog"); %>
     </form>
  </body>
</html>

Anyway, this is how I have my blog set up, and I would assume that it would work for most users, but I make no guarantees to this effect. Let me know how it turns out for you!

Print | posted @ Sunday, June 10, 2007 5:48 PM

Comments on this entry:

Gravatar # re: Just switched to SubText 1.9.5
by Simone Chiaretta at 6/29/2007 1:13 AM

Hi, did you decide not to import your old contents, or did you have problem with the import?
Gravatar # re: Just switched to SubText 1.9.5
by David Mitchell at 6/29/2007 5:27 PM

I decided not to import the old contents--there wasn't much in the old blog, anyway. Thanks for asking, though.
Gravatar # re: Just switched to SubText 1.9.5
by Chris Smith at 7/16/2007 6:22 PM

Thanks for the info! All I want to do is setup a blog and Community Server is _SUCH_ overkill.
Gravatar # re: Just switched to SubText 1.9.5
by Djstampede at 7/19/2007 7:34 PM

Thanks for being the guinea pig for all of us.Blog to death .. will ya.
Gravatar # re: Just switched to SubText 1.9.5
by djstampede at 7/21/2007 5:11 PM

hey, ia m unable to finalize my install on godaddy's windows shared server , all the time I try to log into the admin section to finalize the configuration of the blog it still redirects me to the login page, may password is not wrong since I dont get the "I dont know you " message when I submit my credentials, please help.
Gravatar # re: Just switched to SubText 1.9.5
by mikeas at 7/28/2007 11:13 AM

I finally got subtext running on my economy go daddy account. I had to do a couple changes to my Web.config file. I posted the extra changes over at www.redgreenblur.com.
Gravatar # re: Just switched to SubText 1.9.5
by Tony at 8/6/2007 11:46 AM

If using GoDaddy
use relay-hosting.secureserver.net for smtp server

<Email defaultProvider="SystemMailProvider">
<providers>
<add name="SystemMailProvider" type="Subtext.Framework.Email.SystemMailProvider, Subtext.Framework"
smtpServer="relay-hosting.secureserver.net"
username="myusername@anilsite.com"
password="mypassword"
adminEmail="myusername@anilsite.com"/>
</providers>
</Email>

In GoDaddy mail help section, it says smtp server is: smtp.secureserver.net. That did not work. Using relay-hosting.secureserver.net as smtp server worked for me.

Don't forget to set HostEmailAddress in web.config

<add key="HostEmailAddress" value="myusername@anilsite.com"/>

This will save you a bunch of time.
Gravatar # re: Just switched to SubText 1.9.5
by Haacked at 8/6/2007 12:54 PM

Thanks for posting this. I added a link to this post from the Subtext FAQ
Gravatar # re: Just switched to SubText 1.9.5
by Marie Faillissement at 3/1/2008 4:29 AM

cool! good thing that you are on top of google with this manual! I fixed it within a sec and it works!
Gravatar # re: Just switched to SubText 1.9.5
by Mike at 3/4/2008 10:35 AM

I guess this is only relevant for those using a Windows host. I got a Linux host from GoDaddy and none of this is relevant. I'm about to go through a regular install and see how it goes.
Gravatar # re: Just switched to SubText 1.9.5
by David Mitchell at 3/4/2008 4:35 PM

If you've got a Linux host, then you'll need to have Mono installed along with mod_mono for Apache, and I don't think GoDaddy provides either of those (I could be wrong).

Even if you get that far, you'd still need a version of SubText that can be run on Mono, and to the best of my knowledge, there isn't one, yet (it is on the roadmap, though).
Gravatar # re: Just switched to SubText 1.9.5
by Rama Gundapaneni at 9/14/2008 6:59 PM

Thank you very much for the inputs. I am able to get my blog up and running with Subtext 1.9.5

I just would like to let everyone know that, current version (subtext 2.0) is not working with ASP.Net 2.0.

SecurityException is thrown when the Login page is accessed. Apparently version 2.0 requires trust level to be full. Even if you comment it, it doesn't seem to like it. In case of 1.9.5, commenting trust level element in web.config seemes do the trick.

If subtext can comply with medium level trust, it would be great. If anybody has a work around, please let me know.

Your comment:

Title:
Name:
Email:
Website:
 
Italic Underline Blockquote Hyperlink
 
 
Please add 2 and 4 and type the answer here: