Web application developer

Installing Umbraco on Localhost

umbraco

Written by: willem | Nov 4 2012 3:52 PM

In this series of tutorials I will describe how I built my website. I used Umbraco as a CMS and did not know much about it. After struggling a lot and watching ours of video (which takes way to long, hence the pictures in this tutorials) I managed to understand the basics: installing umbraco with the provided blog , changing the structure of the default site and applying a custom skin. This first tutorial will show how to install Umbraco on your local machine, so you can practice, break it, install it again, and when you succeed, put it online. Before you start you will need to have Internet information server (IIS), Asp.net and Ms Sql server installed.

The tutorial will go through the next 4 steps in more detail:

  • Setting up IIS with a custom local host name e.g. http://umbraco
  • Creating a database in with Sql server management studio
  • Installing Umbraco with Microsoft Web Platform Installer
  • Running the Umbraco installer

Setting up IIS

Click the start button, type "IIS" and press enter.

01

If you have installed IIS properly, the IIS Manager will start up. Right click 'Sites' and click 'Add Web Site'.

02

Give the site a name, this will be the name in the sites list in the IIS Manager. Enter a path, this is the place IIS will look for the web sites's files. Enter a host name, this is the url for the web site. You can enter anything here as long as it is according to the url format. To keep things easy, I enter umbraco, so the site will be reachable on localhost by going to http://umbraco. Click OK until you're back in the manager.

03

Now open windows explorer and navigate to C:\Windows\System32\drivers\etc and open "hosts" in a text editor. In this file you can define urls and ip addresses, in practice to overrule the DNS settings. What we want to do is to tell your computer that when you type in http://umbraco it should go to your local ip (127.0.0.1). So lets add this rule to the bottom of the hosts file.

127.0.0.1            umbraco

Save the file and close your editor. Setting up IIS is done.

Creating the database in Mssql server

In this part you will create a database and a database user for the Umbraco installation.

Click start and type 'Management'. Click on Sql server management studio.

04

When Sql server management studio starts it will show a login screen. Depending on your installation of sql server you can login on local host, with windows authentication. If you changed these settings, make sure you login with an administrator account.

05

Click right on databases and click on 'new database'

06

The 'new database' dialog is shown. Enter a database name and click 'ok'.

07

Open in the object explorer of Sql management studio the 'security' folder and right click the 'logins' folder. Select 'New Login'.

08

Enter a login name and a password. If you are not sure about the password policy, uncheck this setting here. This prevents the obligatory password change on first log on, which locks the account for use with Umbraco. If you forgot this checkbox, or want to use the password policy, log on with this account in Management Studio and see if it works. If a password change is demanded, you can change it here. If you are able to log on with Management studio, Umbraco will be able to log on as well.

09

Next, click on 'User Mapping' and check in the databases list the Umbraco database. When selected, check in the roles list below, the 'db_owner' role.

10

Click ok and close Management Studio.

Installing Umbraco with Web platform installer

This chapter will describe the installation of the umbraco files. For this Microsoft's Web platform installer will be used. If you don't have it installed yet, you can download it here.

Click start and type 'Web platform installer'. Click on Web platform installer or press enter.

11

Wait a little:

12

The web platform installer will show a list of available applications. Type umbraco in the search box, right of the screen and click Add.

13

Then click options in the bottom of the screen. This will show a series of extra settings. Make sure IIS is selected and Remote Database support is set to localhost. Click ok, click install.

14

In the next step, select SQL server (remote: localhost)

15

Click accept

16

It will download the files and after that show a configuration screen. In de 'Web site' drop down list, select Umbraco so it will takeover the settings we made in IIS. Click continue.

17

Wait again…

18

And finished.

19

Running the Umbraco installer

Start up your browser en go to http://umbraco or to the url you chose while configuring IIS. Click 'Let's get started'.

20

Click 'Accept and Continue'

21

Select the option that you already have a blank database and Microsoft Sql server as database type. Fill in the credentials you gave when you made the database user while setting up the database and click 'Install'

22

Waiting…

23

Now fill in the information for the main Umbraco user. With this account you will log on into the Umbraco system. Click 'create user'

24

In this step you can choose a starter package. I chose for the blog. In the next tutorial I'll show how to configure a website and will use this blog as an example. So if you plan to do that, install the blog here by clicking the icon.

25

Next you can install a skin. I will use the 'Sweet @s' skin in the next tutorial so if you plan to follow it, you should choose this one.

26

And we're done! Here you can choose to look at your website (located at http://umbraco) or go to the edit modus (http://umbraco/umbraco/default.aspx). Have fun with it!

27

17 Comments

  • Hey there! Do you know if they make any plugins to help with Search Engine Optimization?
    I'm trying to get my blog to rank for some targeted keywords
    but I'm not seeing very good success. If you know of any please share.
    Thank you!

    antalya said
  • Since upgrading was not (really) possible with Umbraco I decided after a year to switch to Orchard for my CMS. So I don't know much more than this about umbraco. They have a good user base though, try to use their forums.

    willem said
  • The garment іn question ԝas cгeated byy LA-based mⲟstly retailer and creative
    studio Otherwild аnd ɦaѕ beenn seen on everybody from St Vincent tߋ Cara
    Delevingne.

    the future is female meaning said
  • I'm still learning from you, but I'm making my way to the top
    as well. I certainly liked reading all that is written on your site.Keep the stories
    coming. I liked it!

    Edward said
  • We describe our dinners, the apparel we bought, the weather conditions within our city.
    These are only some of the successful outcomes of the UPS'Teamster Union famous historic negotiations to end a labor strike that caused UPS million-dollar financial losses as the strike lasted for two
    weeks. Do you remember the roar of the crowd after a homerun or after a call was thought
    to be decided unfairly.

    Cheap KB Ethos Caps said
  • Like smoking, drugs or drinking habits are generally not like by a sweetheart in their sweetheart and it is likewise hazardous for
    you.

    how to find a girlfriend said
  • Nothing here has to do with offering your daughter a totally free pass to get
    away with setting her own rules in your house or dictating the regards to what is appropriate for her.

    howtogetagirl1.hazblog.com said
  • According to the most recent information published by Airbnb in December 2014,
    this ratio is even greater.

    airbnb promo code said
  • When they reached the healthcare facility, Miller said medical personnel dealt with his girlfriend for an hour, however
    her heart had actually stopped.

    approachingwomen35.snack.ws said
  • Bathing with Epsom salt water is the very best remedy to relieve the itching and
    discomfort in herpes.

    http://www.blogigo.com/ said
  • Ꭲhiѕ web site definiteⅼy has alll of the info I wanted cօncerning tɦіѕ subject ɑnd
    didn't know who to ask.

    ansiedad said
  • Hi, I would like to subscribe for this blog to take most
    up-to-date updates, therefore where can i do it please help out.

    Test Bank Sociology Making Sense of the Social World 2 E Dr. BarBara Marliene Scott Dr. Mary Ann A. Schwartz said
  • Great goods from you, man. I've understand your stuff previous to and you're just too magnificent.
    I really like what you have acquired here, certainly like what you are stating and the way in which
    you say it. You make it entertaining and you still care for to keep
    it sensible. I cant wait to read much more from you.
    This is actually a wonderful web site.

    Пантогор гель для суставов said
  • Fastidious answer back in return of this difficulty with genuine arguments and telling everything regarding that.

    click here now said
  • Howdy! I'm at work browsing your blog from my new iphone 4!
    Just wanted to say I love reading through your blog and look forward
    to all your posts! Carry on the great work!

    Internode business adsl plans said
  • I see you don't monetize your blog, don't waste your traffic, you can earn extra bucks every
    month because you've got high quality content. If you want to know how to make
    extra money, search for: Mrdalekjd methods for $$$

    FirstTawnya said
  • Hmm is anyone else encountering problems with the images on this blog loading?
    I'm trying to determine if its a problem on my end or if it's the blog.
    Any responses would be greatly appreciated.

    www.aydp.co.za said
Add a Comment

About Me

I'm a web application developer specializing in asp.net. I have skills in asp.net, C#, html5, javascript, asp.net mvc, design patterns and more.

more about me

Random background module

This module for Orchard CMS lets you upload a list of images. For every page it chooses one randomly and sets it a the background image.

Go to project page on CodePlex
Download module

The Monack Framework

This open source framework makes it easy to build and develiver custom web applications. Unfortunately I can't spent much time on it so it is still work in progress. 

More about MonackFr
Project page at CodePlex

Orchard

Since I decided to create this website in Orchard and didn't know anything about
it when I started, I also post my experiences with this CMS.