Hosting BlogEngine.NET 2.0 on GoDaddy

22. December 2010 23:47 by rtur.net in BlogEngine  //  Tags: ,   //   Comments (12)

godaddyGo to hosting dashboard/content/IIS management and click “create” link. This is an interface GoDaddy provides you to create virtual directory for your ASP.NET application. Give a name for directory and don’t forget to check “set application root” – this is akin to “configure virtual directory as application” in IIS world, and this is exactly what we doing - installing ASP.NET application.

iiscreate

Once you click ok, GoDaddy will initiate setup process that will take usually under 30 minutes to complete.

pending

After process completed, we ready to move application files to the server. You can use Filezilla or any other FTP client, information on FTP access emailed to site owners by GoDaddy support when you set up an account. You should upload all files from website’s project directory, usually “BlogEngine.NET”, with exception of “setup” folder. When upload done, close FTP client – no need to use it anymore for this task.

filezilla

Now navigate to file manager in GoDaddy’s control panel, check App_Data folder and click “permissions” button in the toolbar.

filemgr

Set App_Data permissions as shown below, giving write access to App_Data and all subfolders.

permissions

You all set and should be able navigate to newly created website and make any updates to the content. By default, BlogEngine uses XML data provider that stores all information it App_Data folder. If you want to use database instead, here is how to switch to DB provider.

Using DB provider

You usually have MS SQL Server and MySQL as your choices for most hosting plans on GoDaddy. SQL Server a little easier to setup and configure. Go to hosting dashboard/databases and select SQL Server. Create new database, providing DB admin/user names and passwords. When database created (pending approval…) you will be able see DB information clicking edit/view action button in the DB list.

dbinfo

Click “manage via web admin” link in DB list, login to database and click “query analyzer” in the tools section. Here you can run SQL queries that will create and populate tables for your blog. Copy/paste those queries from the setup/SQLServer/MSSQLSetup2.0.0.0.sql, then hit “execute” and all should run with no errors.

Copy content of the “setup/SQLServer/SQLServerWeb.Config” file and paste it into Web.Config, replacing all. Locate “connectionString” and replace values for data source (host name), user id (user name), password and initial catalog (database name).

There – save, reload and you should see welcome post:

welcom2sql

Comments (12) -

Guy Nethery
Guy Nethery
1/5/2011 12:34:03 PM #

Do you have to create the virtual directory?  I am trying to follow the directions but I am not having much luck.

rtur.net
rtur.net
1/5/2011 1:01:52 PM #

In the very first step, checking "set application root" = creating virtual directory and configuring it as application. No need to do anything else IIS related.

Soan
Soan
1/24/2011 3:26:39 AM #

Hi..
I was trying to upgrade my current installation of BE 1.5 to 2.0 and found that there are no default.aspx apages in admin/comments and other sub-folders. Whereas when you actually try to click on the links from BE administration widget on right hand side, it tries to look for those pages and throws error.

I checked my download of BE 2.0 source code and it also does not have those files. Is there anything i am missing or the source code package is missing those files?

rtur.net
rtur.net
1/27/2011 10:35:15 PM #

Admin widget uses Web.sitemap to populate navigation URLs. Check what is in that file, may be you need update it.

Soan
Soan
1/30/2011 5:03:40 AM #

Wow..This was spot on!!
Yes..i forgot to copy the contents of new web.sitemap into the old one.

I just did it and it worked. Thanks for your help.
I am glad i asked the question at right place!

Ruslan
Ruslan
4/19/2011 10:15:14 AM #

Privet, tyozka! =)

Great post, as always and some very useful tips on your blog. Keep up the good work!

Just wondering whether GoDaddy is your recommended hosting and domain name service? Do you have a referral/discount code for your loyal BlogEngine.Net users?

-Rus

rtur.net
rtur.net
4/22/2011 10:52:38 AM #

Hi body, like your name :) I'm actively using godaddy, winhost.com and arvixe.com. To me:
1. godaddy gives you best price per feature and is ok as register. As hosting, support sucks and setups are slow. Advanced requirements, like configuring WCF services, usually end up badly.
2. winhost best for developers, not expensive and gives you full remote access to IIS and SQL server. Servers are not super fast but reliable.
3. arvixe similar to winhost, servers seems to be faster but I don't like their control panel. Support is good.

I probably will join winhost's affiliate program now that you mentioned it :)

kbase
kbase
4/22/2011 7:41:45 AM #

Hi,
I setup blogengine2.0 on godaddy but login functionality is not working.
on incorrect login/pwd showing expected error

But on correct login/pwd redirect to default page without doing login.

rtur.net
rtur.net
4/22/2011 10:58:38 AM #

Try to check with FireBug, you probably getting permissions or configuration errors.

haitao
haitao
5/11/2011 1:41:49 AM #

hi,I setup blogengine2.0 on godaddy but tinymce is down ,I cann't edit my post, when try this url:"mydomain.com/editors/tiny_mce_3_3_9_2/tiny_mce.js", it return a 403 error, and another problem, all image located in "/pics/" path are down, event rss icon in blogroll. would you like to help me out?
thank you in advance.

rtur.net
rtur.net
5/11/2011 5:50:47 PM #

Do you have public address to look at your site?

Thomas
Thomas
6/10/2011 2:00:32 PM #

I actually tried to put BE on Godaddy this week and I had to cancel it, it was way to slow. Has anyone tried 3essentials for hosting BE? That's what I have now, it seems to be fair.

Pingbacks and trackbacks (1)+

Comments are closed