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!

Categories: GoDaddy, SubText

Comments

djstampede's Gravatar image
djstampede

re: Just switched to SubText 1.9.5

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.

mikeas's Gravatar image
mikeas

re: Just switched to SubText 1.9.5

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.

Tony's Gravatar image
Tony

re: Just switched to SubText 1.9.5

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

    <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>

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.

Mike's Gravatar image
Mike

re: Just switched to SubText 1.9.5

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.

David Mitchell's Gravatar image
David Mitchell

re: Just switched to SubText 1.9.5

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).

Rama Gundapaneni's Gravatar image
Rama Gundapaneni

re: Just switched to SubText 1.9.5

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.

air chilling systems's Gravatar image
air chilling systems

re: Just switched to SubText 1.9.5

I am 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.

Comments are closed for this post.