The deadline to register for a vote in the EU referendum has been extended to 11.59pm on Thursday (9 June) after technical problems with the Government's website meant some people missed the original deadline.

Those wanting to vote in the referendum originally needed to register to do so online by 11.59pm yesterday.

But an online glitch starting at around 10.15pm meant users visiting the registration website saw a '504 Gateway Time-out' message, instead of the form they needed to complete.

Cabinet Office Minister Matt Hancock has this afternoon said that new legislation will be introduced to extend the deadline until the end of tomorrow.

That means anyone registering between the old and new deadlines will be able to vote in the EU referendum, unless they're from Northern Ireland.

Earlier in the House of Commons David Cameron encouraged people to continue registering using the form on the Government website, which appeared to be working again as this story went live.

How do I register?

If you missed the deadline and want to vote in the EU referendum, fill in the Government's online form NOW.

You'll need your national insurance number to hand, and if you're a British citizen living abroad you'll need your passport too.

What does the Government say?

Cabinet Office Minister Matt Hancock says: "Following discussions with the Electoral Commission and strong cross-party support expressed in the House of Commons, we will introduce secondary legislation to extend the deadline for voter registration until midnight tomorrow.

"Having taken the decision today, we think it is right to extend to midnight tomorrow, 9 June, to allow people who have not yet registered, the time to get the message that registration is still open and get themselves registered."