May 27, 2008 - Old    Comments Off on BlogEngine.net: Install on GoDaddy

BlogEngine.net: Install on GoDaddy

I recently installed [url=http://blog.donnfelker.com/ct.ashx?id=85ea25cd-f9e9-47a0-bc83-6c9aac0dacc3&url=http%3a%2f%2fwww.dotnetblogengine.net%2f:4ik5og0n]BlogEngine.NET[/url:4ik5og0n] on a [url=http://blog.donnfelker.com/ct.ashx?id=85ea25cd-f9e9-47a0-bc83-6c9aac0dacc3&url=https%3a%2f%2fwww.godaddy.com%2fgdshop%2fhosting%2fshared.asp%3fci%3d9009:4ik5og0n]GoDaddy.com shared deluxe Windows hosting[/url:4ik5og0n] account.
After following the [url=http://blog.donnfelker.com/ct.ashx?id=85ea25cd-f9e9-47a0-bc83-6c9aac0dacc3&url=http%3a%2f%2fwww.dotnetblogengine.net%2fwiki%2fInstallation.ashx:4ik5og0n]directions located on BlogEngine.NET’s website[/url:4ik5og0n] I ran into a few problems.

[b:4ik5og0n][size=120:4ik5og0n]Issues[/size:4ik5og0n][/b:4ik5og0n]
[list:4ik5og0n]
[*:4ik5og0n][color=#222222:4ik5og0n]Trust Level[/color:4ik5og0n] [list:4ik5og0n]
[*:4ik5og0n]The hosting account complained that I was trying to override a setting that was set at their Machine level for application Trust. [u:4ik5og0n]Note: You cannot change the trust on GoDaddy hosting accounts (as far as I know)[/u:4ik5og0n]. [/*:m:4ik5og0n][/list:u:4ik5og0n][/*:m:4ik5og0n]
[*:4ik5og0n]App_Data Directory Permissions [list:4ik5og0n]
[*:4ik5og0n]You can upload the App_Data folder, but there is not a way to set the permissions on the folder (this folder needs Read/Write/Web access so that BlogEngine.NET can write to it). [/*:m:4ik5og0n][/list:u:4ik5og0n][/*:m:4ik5og0n][/list:u:4ik5og0n][b:4ik5og0n][size=120:4ik5og0n]Resolution[/size:4ik5og0n][/b:4ik5og0n]
Here’s how I installed BlogEngine.NET on a GoDaddy Shared Hosting account:
[b:4ik5og0n]ASP.NET Set Up[/b:4ik5og0n]
[list=1:4ik5og0n]
[*:4ik5og0n]Log into your Hosting Account and go to the control panel. [/*:m:4ik5og0n]
[*:4ik5og0n]Go to Settings –> ASP.NET Runtime [/*:m:4ik5og0n]
[*:4ik5og0n]Ensure that the Runtime Version is set to 2.0. [list=1:4ik5og0n]
[*:4ik5og0n]If not, select “Content Root” and then change it to 2.0. Click Continue. [/*:m:4ik5og0n][/list:o:4ik5og0n][/*:m:4ik5og0n][/list:o:4ik5og0n]

[This next step is optional.]
[b:4ik5og0n]Setting up The Blog in A Sub Folder [/b:4ik5og0n](If you want to set up your blog on a sub directory like this: [url=http://blog.donnfelker.com/ct.ashx?id=85ea25cd-f9e9-47a0-bc83-6c9aac0dacc3&url=http%3a%2f%2fwww.example.com%2fblog%2f:4ik5og0n]www.example.com/blog/[/url:4ik5og0n] then you’ll want to follow these steps. If you want the blog to be your main URL such as [url=http://blog.donnfelker.com/ct.ashx?id=85ea25cd-f9e9-47a0-bc83-6c9aac0dacc3&url=http%3a%2f%2fwww.example.com:4ik5og0n]www.example.com[/url:4ik5og0n] then skip this step).
[list=1:4ik5og0n]
[*:4ik5og0n]Go to the [b:4ik5og0n]Content | Directory Management [/b:4ik5og0n]area of the hosting account (steps outlined above). [/*:m:4ik5og0n]
[*:4ik5og0n]Click “Create Directory” and call it whatever you want, e.g. “blog” [/*:m:4ik5og0n]
[*:4ik5og0n]Set the settings of “Read”, “Web”, “Set Root” ([url=http://blog.donnfelker.com/ct.ashx?id=85ea25cd-f9e9-47a0-bc83-6c9aac0dacc3&url=http%3a%2f%2fhelp.godaddy.com%2farticle.php%3farticle_id%3d300:4ik5og0n]this sets up the directory as a virtual directory[/url:4ik5og0n]) [/*:m:4ik5og0n]
[*:4ik5og0n]Click Continue to finish. [/*:m:4ik5og0n][/list:o:4ik5og0n]

[b:4ik5og0n]Setting Up the App_Data Folder[/b:4ik5og0n]
[color=#222222:4ik5og0n]The [url=http://blog.donnfelker.com/ct.ashx?id=85ea25cd-f9e9-47a0-bc83-6c9aac0dacc3&url=http%3a%2f%2fwww.dotnetblogengine.net%2fwiki%2fInstallation.ashx%23Add_write_permissions_for_App_Data_folder:4ik5og0n]App_Data folder needs to have write access[/url:4ik5og0n] enabled so BlogEngine.NET can do its work. [/color:4ik5og0n]
[list=1:4ik5og0n]
[*:4ik5og0n]Return to the Content | Directory Management area [list=1:4ik5og0n]
[*:4ik5og0n](If you’ve decided to put your blog in a sub-folder, then select that folder name now) [/*:m:4ik5og0n][/list:o:4ik5og0n][/*:m:4ik5og0n]
[*:4ik5og0n]Click “Create Directory” [/*:m:4ik5og0n]
[*:4ik5og0n]Give it a name of “App_Data” with permissions of “Read”, “Web”, “Write” [/*:m:4ik5og0n]
[*:4ik5og0n]Click continue to finish. [/*:m:4ik5og0n][/list:o:4ik5og0n]

[b:4ik5og0n]BlogEngine.NET Configuration Setting Change[/b:4ik5og0n]
[color=#222222:4ik5og0n]You will need to remove one line of configuration in the web.config file. [/color:4ik5og0n]
[list=1:4ik5og0n]
[*:4ik5og0n]Open the web.config file [/*:m:4ik5og0n]
[*:4ik5og0n]Find the line that has this in it: <trust level=”High” /> [/*:m:4ik5og0n]
[*:4ik5og0n]Remove that line [/*:m:4ik5og0n]
[*:4ik5og0n]Save and exit the file [/*:m:4ik5og0n][/list:o:4ik5og0n]

[b:4ik5og0n]Uploading Files to your site[/b:4ik5og0n]
Use your favorite FTP Client, I recommend [url=http://blog.donnfelker.com/ct.ashx?id=85ea25cd-f9e9-47a0-bc83-6c9aac0dacc3&url=http%3a%2f%2ffilezilla.sourceforge.net%2f:4ik5og0n]FileZilla[/url:4ik5og0n], to upload the files.

[[b:4ik5og0n]IMPORTANT NOTE: [/b:4ik5og0n]I was only able to make this work by uploading with Mozilla.]
[list=1:4ik5og0n]
[*:4ik5og0n]Connect to your GoDaddy account with the FTP Client. [/*:m:4ik5og0n]
[*:4ik5og0n]Navigate to the folder in which you want to install the blog. [list=1:4ik5og0n]
[*:4ik5og0n]If its a sub directory like “blog”, go into the blog directory, otherwise if you want it as your main site landing page, use the home area which will usually be yoursitesname.com (or whatever your domain is) [/*:m:4ik5og0n][/list:o:4ik5og0n][/*:m:4ik5og0n]
[*:4ik5og0n]Copy all files [u:4ik5og0n]EXCEPT FOR THE App_Data[/u:4ik5og0n] to the host. The App_Data folder should already be created (if not, then wait 5 minutes for GoDaddy’s system to create the directory for you – we did this in a previous step, but it can take a few minutes for the process to complete). [/*:m:4ik5og0n]
[*:4ik5og0n]After the files uploaded, go into the “App_Data” folder of your installation (on your local drive) and then upload all files and folders into the “App_Data” of the web site. [/*:m:4ik5og0n][/list:o:4ik5og0n]

[b:4ik5og0n][url=http://blog.donnfelker.com/ct.ashx?id=85ea25cd-f9e9-47a0-bc83-6c9aac0dacc3&url=http%3a%2f%2fwww.dotnetblogengine.net%2fwiki%2fInstallation.ashx%23Navigate_to_the_web_page:4ik5og0n]Now navigate to your site and finish with the regular installation[/url:4ik5og0n] [/b:4ik5og0n]

[b:4ik5og0n]Contact Setup[/b:4ik5og0n]
[color=#222222:4ik5og0n]This step I had to poke around to figure out… [/color:4ik5og0n]
You’ll need a mail account with GoDaddy to set this up. Set up the mail account on GoDaddy ([url=http://blog.donnfelker.com/ct.ashx?id=85ea25cd-f9e9-47a0-bc83-6c9aac0dacc3&url=http%3a%2f%2fhelp.godaddy.com%2farticle.php%3farticle_id%3d1728:4ik5og0n]see their help for this[/url:4ik5og0n])
[list:4ik5og0n]
[*:4ik5og0n][color=#222222:4ik5og0n]Once a mail account is configured, go to your site, in the settings tab, and use the SMTP address of ‘relay-hosting.secureserver.net'[/color:4ik5og0n] [/*:m:4ik5og0n][/list:u:4ik5og0n]
For more info, visit [url:4ik5og0n]http://www.dotnetblogengine.net/page/faq.aspx[/url:4ik5og0n].
The main documentation can be found at [url=http://www.dotnetblogengine.net/wiki/:4ik5og0n]http://www.dotnetblogengine.net/wiki/.[/url:4ik5og0n]
To create custom Themes, visit [url:4ik5og0n]http://www.dotnetblogengine.net/wiki/ThemeCreation.ashx[/url:4ik5og0n].