Scalable Multi-Tenant Architecture for Hundreds of Custom Domains
dev.to·16h·
Discuss: DEV
Flag this post

Introduction

Modern SaaS commerce platforms often face a similar challenge: supporting a large number of customer-specific storefronts, each with its own custom domain, while still relying on a shared backend. When your infrastructure is built on EKS with CloudFront and an Application Load Balancer in front, and each tenant requires its own SSL certificate, scaling becomes a real architectural puzzle.

This article describes the problem we encountered, the options we evaluated, and the architecture we ultimately implemented to handle hundreds of HTTPS-enabled custom domains cleanly and reliably.

Context: The Multi-Tenant Storefront Platform

Our platform allows customers to create online shops under their own domains. Dozens or even hundreds of domains like: storeABC.com, *b…

Similar Posts

Loading similar posts...