How to build a website

Taking the net by storm has never been so cheap, or simple. Rhodri Marsden explains the best ways to become the master of your own domain

On Facebook
Life & Style blogs

Online House Hunter: Mortgage relief

Banks would appear to be finally relinquishing their stranglehold on mortgages. Our Online House Hun...

Online House Hunter: Hard sell

How much would you reduce the price of your house by to achieve a sale? Our Online House Hunter look...

Not sick enough for hospital, not well enough to cope

Another day, another report concluding that “integration” is what will save a health and social care...

A good 10 years after we started to accept that the world wide web might have some conceivable use, the process of getting a website up and running is still seen by many as some kind of black art. In the same way that we're happy to turn on the shower but have little interest in the process by which the water arrives, most people are unconcerned about the genesis of websites – up to the point where they'd like one of their own. There's no shortage of resellers who are only too willing to exploit this yawning gap in our knowledge; you'll often see ads urging you to part with hefty sums for your "very own" website – deals which represent a significant profit margin for very little action. People spend years forking out well over the odds for their online presence, but mulling over a few questions before you take the plunge could save a lot of money and effort in the long run.



Do I need one?

Established online services cater pretty well for people's web egos – depending on whether you're happy to be merely an appendage of an existing website. A budding photographer by the name of Hortense McCreedy could showcase her work perfectly adequately by getting herself a Flickr account, uploading her photos, and making flickr.com/hortense her online home. Equally, if words were Hortense's thing, a blog service such as LiveJournal could establish her a home at hortense.livejournal.com, free of charge. The advantage of using these services is that there's often a like-minded community ready and waiting to welcome you. But the pages are often branded, or contain advertising, and customisation options tend to be limited. In short, your web identity could be slightly diluted. Some people don't mind; others would rather have a space that's theirs and theirs alone.

So how do I get my own domain name?

You've decided that you'd like to own hortense.com, or hortense.co.uk, or hortense.biz or similar. Avoid buying it from your ISP, even if they're offering a special deal, and be wary of companies that say you can have one for free – it could mean pain further down the line. Go direct to one of the big players who specialise in domain registration: there's ukreg.com, freeparking.co.uk or names.co.uk (all of whom give good deals on co.uk domain names) or godaddy.com or enom.com (who usually work out cheaper for generic domains such as .com, .biz or .info). Either way, you should pay somewhere between £5 and £10 each year, and you'll always be in control of it; indeed, if you merely wanted it to whisk visitors off to your Flickr page or your LiveJournal, these services will let you set this up with the click of a mouse.

Who should host my website?

Unless your website idea is guaranteed to attract tens of thousands of visitors each day downloading lots of media files (i.e. pornography), it's unlikely to put the internet's infrastructure under colossal strain, and you shouldn't have to pay through the nose. Shop around; there's no reason to consider only British providers (although the current exchange rate dictates that you might get a better deal from people such as uk2.net or fasthosts.co.uk). Some of the domain-selling services mentioned above might offer a good hosting deal, so check their prices, too. Clubbing together with others can save money; dreamhost.com has a $6/month package which includes hosting for an unlimited number of websites. Find half a dozen of you, and you'll each be paying less than £8 per website per year for hosting – and this is precisely how those resellers mentioned at the top of this piece make money out of people who aren't in the know. Of course, companies depending on websites for the survival of their businesses will pay more money for greater bandwidth and zero downtime – but most of us are served perfectly well by the "shared hosting" model that Dreamhost and its ilk provide. Once you've signed up for a hosting package, you just go back to the website you bought the domain from, log on to your online account, and punch in the name server settings your new hosting provider has given you. A few hours later (often only a few minutes), anyone typing your domain into a browser will be directed to your webspace. Now all you have to do is put something there for them to look at.

What about designing it?

While the procedure so far is relatively painless, creating a website that doesn't look like a dog's breakfast is more difficult. The well-trodden route for DIY site-builders has been to use HyperText Markup Language (HTML) and Cascading Style Sheets (CSS)-generating software – of which Dreamweaver is the most well-known – to create the pages and upload them for the world to see. But maintaining such a website can be a headache, and these days most new sites are generated by content management systems (CMSs). You install the CMS on your server space, choose a template, add the content – be it text, images or other media – and the pages are generated automatically.

Installing software on a server isn't always as straightforward as installing an application on your computer, but some hosting companies make it easy by offering a range of CMSs which can be installed via a one-click system. These CMSs are usually free and open-source. A good example is WordPress – software that's generally associated with blogging, but is actually an incredibly powerful tool that can be used to build all kinds of websites. The key is the template, or theme; there are hundreds of free WordPress themes available online, and it's likely that you'll find one to suit you – but if you can't, you can either be brave and learn the rudiments of the PHP programming language, or find someone who'll do it for you. Spending £200 on getting someone to tweak a WordPress template to your requirements is money far better spent than forking out excessive amounts for domain and hosting services. Check out freelance auction sites such as php-freelancers.com to find someone to do the job.

WordPress is by no means your only CMS option. Joomla!, Drupal and Mambo are three others for general website production, with Mambo particularly suitable for those without much technical knowledge. Pligg can be used to build websites similar to digg.com, where a community of users can vote for, comment on and rate other content from around the web. Moodle is targeted at educators who are looking to produce online courses for students on a small budget; phpBB can be used to construct forums and message boards, MediaWiki for Wikipedia-style collaborative websites, Gallery for photographers or image creators looking to show off their talents, WebCalendar for online diaries, Zen Cart for online stores – the range is incredibly wide, and most are designed to be used by people who aren't experienced in burrowing through mountains of code.

Of course, there'll always be a trade-off between the ease of getting a site built and its professional sheen. But these days, it's easier and cheaper to create a functioning, good-looking site than ever before. And don't let fly-by-night resellers tell you any different.

Better by design: How to have a hit site

Don't go colour crazy

Think of your website as you would your own home; if you can't live with seizure-inducing animations and garish colours on your bedroom ceiling, don't put them on your web page. Check out stexps.com for an example of how not to do it – then head to colourlovers.com, the web's equivalent of the Dulux colour wheel.



White space is your friend

Google's exquisite simplicity demonstrates importance of white space – but you still see sites such as havenworks.com or 5safepoints.com, whose creators sneer at the idea of "less is more", and prefer the idea that "too much is better".



Symmetry isn't a solution

Web design isn't easy. Things will often refuse to sit properly on a page – but resist the temptation to centre-align everything in the mistaken belief that making things symmetrical will help. It won't. It'll just make things even more difficult to read. see the astonishing arrangement of text at shakespeares-sonnets.com for a good example of what not to do.

Don't get excited by fonts

Your font folder may be rammed with futuristic or picturesque fonts, but save them for party invitations and stick to seasoned choices such as Arial, Georgia or Trebuchet – as many of the best sites do. And take time to learn some CSS – it's the key to making text look beautiful online.



Avoid audio

It's hard to believe, but not everyone enjoys an unexpected and deafening rendition of the 'Knight Rider' theme tune when they arrive at a website. Help them avoid distress by quietly disposing of any extraneous sounds.



Optimise your images

Save your images as 72dpi, and at the size they'll appear on your site. There's nothing more infuriating than watching a 100 pixel wide image of a giraffe taking 15 seconds to load because it's 8Mb in size (ie, around 1,000 times too big).



Navigation is everything

You might whizz around your own site effortlessly – but that's because you've spent four weeks constructing it. Sit someone else down in front of it – a technophobic parent is always a good option – and if they have trouble using it, don't blame advancing senility. Change it.



Check it with all browsers

You might hope everyone coming to your site uses Internet Explorer, but it's becoming less and less likely as Firefox and Google Chrome become more popular. They're free to download, so there's no excuse not to check that they can cope with your magnificent new creation.

Independent Comment
blog comments powered by Disqus

Day In a Page

Samuel Aranda wins World Press Photo

World Press Photo

The winners in pictures
Picture preview: Cotton Global Threads

Cotton Global Threads

Picture preview
Eat it don't tweet it: Do table manners still matter?

Eat it don't tweet it: Do table manners still matter?

In the technological age, modern dining etiquette is about so much more than just keeping your elbows off the table.
The 10 best knife sets

The 10 best knife sets

From blades inspired by Japanese master sword craftsmen to ceramic blades that feel as light as a feather
Once a Redgrave: Joely Richardson on playing the role made famous by her mother and sister

Once a Redgrave: Joely Richardson

The actress discusses playing a role made famous by her mother and sister
The growth industry: Veg boxes have gone from a niche product for worthies to a foodies' essential

The growth industry: Veg boxes

Vegetable boxes have gone from a niche product for worthies to a foodies' essential
RIBA's latest exhibition charts the changing face of the British home

Changing face of the British home

Oliver Bennett explores the Royal Institute of British Architects’ latest exhibition
First Night: In the Land of Blood and Honey, Berlin Film Festival

First Night: In the Land of Blood and Honey

Courage under fire! Jolie's debut is not for faint-hearted
The XX files: The hunt for victims of Guatemala's 36-year war

The XX files

The hunt for victims of Guatemala's 36-year war
Rein man: did Dustin Hoffman harm horses in his new drama?

Did Dustin Hoffman harm horses in his new drama?

Big-budget HBO series targeted by campaigners after two star performers had to be put down
How the FA can win with Harry's game

How the FA can win with Harry's game

Even an initial part-time role up to Euro 2012 would work, while England could be set free by Redknapp
James Lawton: Blame for this awful mess lies squarely with Capello

James Lawton

Blame for this awful mess lies squarely with Capello
Chris Ashton: Not so flash but still keen to make a splash in Rome

Chris Ashton interview

Not so flash but still keen to make a splash in Rome
London Eye: She's buddies with Bolt but this golden girl revels in anonymity

Simon Turnbull's London Eye

Jamaica's Trecia Smith is buddies with Bolt but this golden girl revels in anonymity
The data goldmine: Why forgetting to log out can cost you dearly

Data goldmine: Have you forgotten to log out?

David Crookes finds out how much stolen Twitter accounts, hacked eBay pages and more are really worth.