case study

KMAG.pl

Industry

Web Platform Migration

Year

2025

KMAG.pl is a leading Polish online media platform that underwent a comprehensive technological transformation. The project involved migrating the frontend from Vue/Nuxt to React/Next.js, relocating databases and backend services from OVH to AWS, and deploying the frontend on AWS Amplify. A critical component was migrating DNS from nazwa.pl to Route 53 to enable CDN delivery on the apex domain—a capability most DNS providers cannot offer.

    Services

  • Web Development
  • Cloud Infrastructure
  • Database Migration
  • Performance Optimization

    Technology used

  • Next.js
  • React
  • AWS Amplify
  • PostgreSQL
  • AWS Lightsail
  • Route 53
  • CloudFront CDN
Image kmag-hero.png

Project

Challenges

Vue/Nuxt frontend limitationsThe existing Vue/Nuxt stack required modernization to React/Next.js for better ecosystem support, performance optimization, and developer productivity.
OVH infrastructure constraintsThe legacy OVH hosting lacked seamless integration with S3 storage and CDN services, creating operational complexity and limiting scalability options.
Apex domain CDN limitationsThe DNS provider nazwa.pl, like most traditional DNS providers, does not support ALIAS records for apex domains. This meant CDN services like CloudFront could not be configured for the root domain (kmag.pl), forcing traffic through slower paths.
Monolithic architectureBackend and frontend were tightly coupled on a single server, limiting independent scaling and deployment flexibility.
Image 1

Applied

Solutions

React/Next.js Frontend MigrationMigrated the frontend from Vue/Nuxt to React/Next.js, leveraging the modern React ecosystem for improved performance, better tooling, and enhanced developer experience.
AWS Amplify Frontend HostingDeployed the frontend on AWS Amplify, enabling seamless CI/CD, automatic SSL, and integration with CloudFront CDN for global content delivery.
Route 53 DNS MigrationMigrated DNS from nazwa.pl to Route 53 to leverage ALIAS records for apex domain CDN support. Unlike traditional DNS providers, Route 53 allows pointing the root domain directly to CloudFront, enabling CDN benefits on kmag.pl without www prefix.
Separated Backend InfrastructureDeployed the backend on a dedicated AWS Lightsail instance with PostgreSQL database, decoupling it from the frontend for independent scaling and simplified maintenance.

Results

  • The Vue to React/Next.js migration delivered significantly faster page load times and improved Core Web Vitals scores through modern rendering strategies and optimized bundling.
  • Route 53 ALIAS records enabled CloudFront CDN on the apex domain (kmag.pl), a configuration impossible with nazwa.pl or most traditional DNS providers that lack apex CNAME/ALIAS support.
  • Decoupled architecture with Amplify-hosted frontend and Lightsail backend provides independent scaling, simplified deployments, and cost-efficient database hosting.