Quick answer
If your website generates leads or sales, you should own the source code. Ownership means you can move hosting, hire another developer, and keep the site if you change providers. Platform builders and some agencies leave you renting access. Custom development on open frameworks like Next.js with a written handover gives you real independence.
Who this applies to
Anyone signing a web contract who wants to avoid lock-in, exit fees, or losing their site when they stop paying a platform subscription.
Main explanation
Code ownership is separate from domain ownership and content ownership — but all three matter. A developer can build on your domain while retaining code rights. Always clarify in writing: who owns the repository, can you export it, and are there exit fees?
What you should own
- Domain — registered in your name
- Website source code — custom builds on open frameworks
- Content — copy, images, and assets you paid for
- Analytics and Search Console — under your Google account
Comparison table
| Platform | You own code? | Can you move host? |
|---|---|---|
| Custom Next.js site | Yes | Yes — full portability |
| Wix / Squarespace | No | Limited export |
| WordPress (self-hosted) | Yes (theme/plugins vary) | Yes |
| Proprietary agency CMS | Often no | Difficult or costly |
Common mistakes
- Not reading the contract about intellectual property
- Letting the agency register your domain
- Building critical workflows on a platform you cannot export
- Assuming paying for a build automatically means owning the code
Recommended next step
Pettifer Works clients own their code with handover documentation. Compare template vs custom website, then see pricing or build your package when you are ready to scope a project.