Our own setup

A page that became a service, without leaving dead links

The link page lived inside the site. It is now a service of its own, at its own address, and the old URL leads to the new one.

Context

The link page had grown inside the company site until it had become something else: a service where other people could have a page of their own. Keeping it inside meant that strangers' content would run in the same process and the same database as the site, and that a problem on one side would stop the other.

What we did

  • The service was rebuilt at an address of its own, with a separate container, database and storage volume.
  • The old page's code was removed from the site: no two versions of the same thing.
  • The old address answers with a permanent redirect to the new page.

Stack

  • PHP
  • SQLite
  • Docker
  • Traefik

Result

  • Third-party content is isolated: it shares no process, database or domain with the company site.
  • The two systems are updated and restarted independently.
  • No external link is broken: anyone arriving at the old address lands on the right page.