The Blog - Archive for

Things to consider when putting a website live!

by Tom H. Filed under: Knowledge

There’s no shortage of help out on the web for building websites, but, what about once you’ve built your site? It has to be made live and published for the world to see.

We’ve deployed quite a few hundred sites in our time and I thought I’d share a few hints and tips to ease the process and make it more streamlined.

Firstly, there are two main types of deployment:

1. Brand new website

2. Update to an existing website.

The second of these is generally far more difficult to deal with, normally DNS and email will already be setup.

Step 1 – Get your DNS in Order

Don’t underestimate how long this might take, often it will involve your customer digging out information they have filed away years ago.

You need to find the following:

  1. Registrar – which company is managing the domain? You can find out by doing a WHOIS on the domain. We use DNS Stuff for this. See example.
    • If the domain hasn’t been registered, it’s easier to do this yourself with your preferred company. We use http://www.ukreg.com/ normally, and, their system isn’t bad.
    • If the domain has been registered, you will need the login details to make amendments. Some times, customers might be reluctant to give you this, so you’ll have to do everything via them.
  2. Take a snapshot of the DNS. If you change records later, you’ll want to know easily what to revert back to if something goes wrong. We do a DNS Report for every domain using DNS Stuff and save it. You can also take a screenshot of your Registrars name server setup or save the zone file if you have complete control. We write down IP information for our various servers in our Wiki so when we come to do updates we have the information quickly to hand.
  3. Determine what name servers the domain is on. This is normally the ones provided by the registrar but could quite possibly be another company. Again, you can determine this from a WHOIS or DNS Report. We prefer to use our own DNS company, it gives us more flexibility and we know we can do certain things not all providers offer (such as changing TTL – see the right way to move a domain).

Step 2 – Sort out hosting

Ok, I’m not going to say too much about this. But, make sure you leave plenty of time to get hosting setup. If you’re setting a website up on a dedicated server, and it’s not something you do all the time, you probably need to allow 2 days to get it all setup and working. Things to consider:
  • Do you have any monitoring? If the server grinds to a halt, you’re going to want an idea why. We use Munin
  • Have you got backups setup? Are they offsite?
  • Do you have the web server and database server configured and appropriately optimised?
  • Can the server send email? If there is an SPF record for the domain (there should be) then you’ll need to add the IP of the server. If the server is sending email directly, it should have a reverse dns entry to the server.

Step 3 – Register SSL

If the site is an e-commerce store or has secure parts to it. It will probably need an SSL certificate. Don’t forget about this. We use GoDaddy.com for certs because they are cheap and actually pretty good for getting things setup.
  1. Check to see if the existing site already has a cert. Ask the client if they have the cert details, they probably don’t want to buy another if they can avoid it.
  2. Getting SSLs setup can take a while (not going to go in to how you do this, maybe another day), mainly because of the verification process. You will quite likely need access to the name servers to add verification information in to prove you/your client owns the domain name. Allow a few days for this!

Updating DNS/Name Servers

Ok, so you’re ready to switch off your old site and move to your new site! Exciting…

But, there’s a right way and a wrong way to do it.

Lots of web companies will say this to their clients when they move a site:
“We’ve done the DNS update, we’re just waiting for it to propagate and this will take 24/48 hours”.
WRONG!
This is what a web company tells you when they don’t know what they’re doing. If you do things correctly you can switch things very quickly and minimise the amount of people that end up on the old site. Follow the following:

Do you need to change name servers?

When you need to switch name servers:
  • Don’t try and update records at the same time!
  • Setup your new target name servers to be exactly the same as the old ones.
  • Switch name servers.
Nothing should go wrong, providing you have copied all the records over. Almost all Registrars will tell you name servers take 24/48 hours to update. This is possible, but rare. Normally, in a few hours all will be cool. But, before you do anything further, check the domain is using the new name servers with a WHOIS lookup.

Changing records

When you are ready to switch to the new server you will need to update one or more A records for the domain. This isn’t a full explanation, but it should at least set you on the right path.
  1. Find the TTL (time-to-live) for the records you want to change. You can do this with a DNS Stuff Domain Report or it should be in your DNS configuration.

    The TTL is the amount of time the record will be cached.

  2. If the TTL is 1800 (expressed in seconds), this is 30 minutes the record could get cache. It’s typical for this to be about 1 to 6 hours. Reduce the TTL down to something like 60 seconds or 120 seconds. But… you need to wait the original TTL for things to get flushed out before you are ready to update.
  3. Change your record after the original TTL has expired. There should then only be a 60/120 second window when they might get the old record though…. but this isn’t necessarily true! Why? Because you are only changing one name server normally, and the changes need to propagate. Knowing how long this might take is again down to name server setup (partly why we like to use ours) and further TTLs on the actual domain itself.
  4. When everything is a-ok, put the TTL back up (otherwise every lookup will end up going to the main name servers first).
One more cool tool I like, DNS Stuff provide a ISP cached lookup facility. It will scan all the DNS servers of major ISPs to see if there is a cached record for a domain.

In Summary

There’s quite a lot to domains and moving sites. Hopefully this has helped a few people but all I would say is, give this stuff the respect it deserves. DNS runs the web! Just because I can walk in to a plant store and hire a digger, doesn’t mean I should… well, not without at least finding out how to use it properly.
For all your earth moving needs, try Hewden

MongoDB at HP Labs

by Tom H. Filed under: Community,Company,Technology

The Simpleweb dev team were en masse last night for the MongoDB meetup at HP Labs last night. Big thanks to @paulharwood for organising.

Great event all round, not least because of the impressive array of different beers (and soft drinks!).

Our Chris even managed to win himself a Mongo DB book, and the filing cabinet is now sporting a shiny new MongoDB sticker!

If you’re interested in Mongo and are in the Bristol area you should definitely come along to the next event, check out the meetup page for further details:

http://www.meetup.com/Bristol-MongoDB-user-Group/events/22158351/

Why do we love mongo?

  • Super fast
  • Schema-less – you can evolve your data model without impacting existing system
  • Fun to develop with… we love JSON!

We are looking at more and more ways we can use this fantastic database in the future!

Deciding on your next Open Source Content Management System

by Tom H. Filed under: Knowledge

It’s true, we do like playing with the latest hot technologies such as node.js, backbone, mongo etc… but, our day to day work is, more often than not, content managed websites.

We like to use open source for everything we do. Why? Well, to start with, most of our clients are already smart enough to know it makes sense not to be locked in to someone’s proprietary technology… statements such as ‘We are looking to use Open Source and not get locked in to proprietary software.’ are now the norm (you can steal that for your tender document if you like ;)) Secondly, it lets us deliver results faster, more reliably and allows us to focus on the sort of quality results our clients have come to expect from us.

So, what open source content management system should you be using?

At Simpleweb we generally build using either in WordPress or Drupal. Both WordPress and Drupal are fantastic open source blogging platforms/content management systems. Either system is a great alternative to closed, costly, proprietary platforms. Open source is more cost effective to implement and it leaves the customer free to use another agency in the future if they so wish. As with everything in life though, both Drupal and WordPress have their strengths and weaknesses.

After delivering a variety sites over the years using both WordPress and Drupal, we’ve got pretty good at determining what provides the best fit.

Blog Based, Product Brochure Site – Use WordPress

If the site is primarily blog based with supporting information pages, we’ll more often or not pick WordPress every time. Here’s why:

  • Very quick to get going. We can setup a WordPress blog (due to some secret sauce we have) in a snap!
  • Blogging on WordPress is the norm! It’s a bit like using a native iPhone app, you know what to expect, users love it and it’s what people often expect.
  • Great admin interface, we haven’t met a single customer that hasn’t been able to dive straight in to blogging and content management with WordPress.

Full Featured, Community Site with structured data types – Use Drupal

There is a point at which a site becomes too big to be sensibly managed by WordPress. I say ‘sensibly’ because, generally speaking, you can always get a square peg in to a round hole! But, Drupal shines when you have a site with the following:

  • Multiple, well structured content types. In WordPress, if you need to move beyond a standard title/content/tagged page type (and this is a bit of an over simplification), you end up needing to extend it with plugins. Drupal has the ability to define all this (and really extend it with custom code) build right in to the core.
  • Users, role and permissions. If you have more than a handful of contributors and need better control over security, Drupal shines at this. Yes, WordPress can provide a lot of this, but again, you often fall back to third-party extensions that can often bring more problems than they solve.
  • Security. WordPress doesn’t have a great track record for security and getting hacked. Granted, it’s getting better! But, if you’re worried about security, Drupal is probably a safer bet.

So, that’s just a very basic look at the two systems and why we might pick one over the other. Ultimately, due to the constant development of both products (thanks to their active communities), and their extensibility due to plugins, the gap between the two is ever narrowing and we’d see either one as a great platform for your next product.

If you’re interested in leveraging open source for current or future web project, get in touch, we’d be happy to talk to you.

Some TechCrunch love for ContactZilla

by Tom H. Filed under: Products

We are all very excited to have been featured on TechCrunch Europe today for our ContactZilla product. It’s a great intro write up from Steve O’Hear that’s already brought us a lot of traffic. What a great way to kick off the New Year for ContactZilla! We love tech at Simpleweb, but it’s no match for seeing a stream of tweets talking about all the hard work we’ve been putting in.

In true Beta stlye, we’ve suffered a few performance issues from the influx of the traffic, apologies to anyone trying to review the product that is experiencing difficulty, please stick with us, we do have plenty of server capacity but we need to dedicate more of it to ContactZilla once things have quietened down a bit.

Please do ask us any questions you have about the product, ideas, suggestions, concerns. We’ve got lots of cool stuff planned for 2011 and we have an awesome team behind the product so we’re really keen to deliver the features and functionality that you all want from such a product.

Make sure you keep up to date on the ContactZilla blog for future updates.

Psycho Analysed by Video [fun and games]

by Tom H. Filed under: Company

We now have some very talented developers including Ferenc, Luke, Ben, Christos and our newest team member Chris and we’re about to take on a marketing manager and an office manager.

It’s exciting times and it seems every month brings a new face to the office.

In an effort to make people quickly feel like part of the team, and to help us all learn a little more about each other, I like to run a monthly light-hearted competition.

The competition for February was simply “pick your favourite video related to our industry”. There were two prizes up for grabs, the first went to whoever submitted the video the team liked the most, the second went to whoever guessed the most amount of video submissions correctly “who submitted what?”. The latter task, I thought, would be an interesting insight in to their colleagues personalities and interests. It proved to be more difficult than i thought. Even though I was the only one that had seen the entries, I still managed to get some wrong!

Here are the videos:

Mark

Lewis

Ben

Me (Tom)

Ferenc

Christos

Luke

I think Les was a little upset I’d left him out of the competition, I promise, next time, Les will be taking part!

Chris wasn’t with us at the time so the March competition will be his first.

And the winners:

Well, Mark really won both tasks. That being said, his video wasn’t related to technology in the slightest (no suprise he ignored the rules!), so I awarded the best video to Luke and the guessing of the person that submitted the video to Mark. I’m pleased Luke won this month after taking the runners up santa hat the previous month!