Short answer: You should be the registered owner of your domain name and hosting account, and your contract should say who owns the code and content once you have paid. Agree it in writing before the project starts.
Most people assume that paying for a website means they own it. Usually they do, but not always, and the cases where they don’t tend to come to light at the worst moment: a falling-out, a developer who has vanished, or a business sale. Four things need to be yours, or clearly licensed to you.
1. The domain name
Your domain (yourbusiness.co.uk) is registered through a registrar in the name of a “registrant”. That registrant should be you or your company, with your email address attached. If a developer registered it for you in their own name, you may find you have no legal claim to it. Ask for the registrant details, and if they aren’t yours, ask for the domain to be transferred or the registrant changed.
2. The hosting account
Hosting is where the site’s files and database live. Ideally the account is in your name, billed to you, with the developer added as a user. If it sits under the developer’s account, you depend on them to keep paying and to keep the account open. A developer may legitimately host sites for clients on their own server, but then it should be written down, with what happens to the site if you part company.
3. The code
This is the part people most often leave unsaid. In UK law, the person who writes code is generally its first owner unless a contract says otherwise (and an employee’s work belongs to the employer). Many developers are happy to assign or license the finished code to the client once the final invoice is paid. Your contract should say:
- who owns the finished custom code, and from when (typically on final payment);
- that third-party libraries and frameworks (such as Laravel) remain under their own open-source licences;
- whether the developer can reuse generic parts they wrote for other clients.
Get the code stored in a repository (such as GitHub or GitLab) that you can access, so a successor can take over. That is the single best protection against being stranded.
4. Content, images and fonts
Text, logos and photographs you supply stay yours. Be careful with anything the developer sources: stock images and fonts are normally licensed for particular uses and sometimes only to the person who bought them. Ask for the licences, or have the stock account in your name.
Other accounts to hold yourself
- Google Search Console and Google Analytics: you should be the owner, with the developer invited.
- Payment accounts such as Stripe: always your own account.
- Email-sending and other third-party services the site relies on.
A simple ownership checklist
- Domain registrant is you.
- Hosting account is in your name, or hosting terms are written down.
- Contract states who owns the code and when ownership passes.
- Code is in a repository you can access.
- Passwords and access are documented and shared securely.
- You own the analytics, search and payment accounts.
A note on this
This is general guidance, not legal advice. For a large or high-value project, have a solicitor check the contract. For everyone else, the principle is simple: nothing about your website should depend on one person’s goodwill. It’s one of the questions to ask before hiring a developer. If you’d like to talk about taking over an existing site, get in touch.