Skip to main content

Domain Levels & Strategies

Sleakops provides a flexible domain architecture with three hierarchical levels, plus custom aliases for advanced use cases.

Overview


1. Provider Domain (Root Level)

What it is: Your organization's root domain.

Example: sleakops.com

What Sleakops creates:

  • ✅ AWS Hosted Zone
  • ✅ SSL Certificate

Use case: Establishes your main domain infrastructure. All environments and services will be organized under this domain.

When to use:

  • Setting up Sleakops for the first time
  • Managing your organization's primary domain

2. Environment Domain (Subdomain Level)

What it is: Subdomains representing different environments.

Examples:

  • qa.sleakops.com
  • staging.sleakops.com
  • prod.sleakops.com

What Sleakops creates:

  • ✅ AWS Hosted Zone
  • ✅ SSL Certificate

Use case: Isolate and organize your deployment environments. Each environment gets its own subdomain with independent DNS management.

When to use:

  • Creating separate environments (development, staging, production)
  • Isolating teams or projects
  • Managing multiple deployment stages

3. Webservice Domain (Auto-generated)

What it is: Automatic domain assignment for each webservice.

Pattern: [webservice-name].[environment-domain]

Example:

  • Webservice name: api
  • Environment: qa.sleakops.com
  • Result: api.qa.sleakops.com

What Sleakops creates:

  • ✅ CNAME record (automatically added to the environment's hosted zone)
  • ✅ Points to Application Load Balancer (ALB)

Use case: Zero-configuration domain setup. Each service automatically gets a predictable, hierarchical domain.

When to use:

  • Default scenario for all webservices
  • When you want consistent, predictable URLs
  • Quick deployments without custom domain configuration

4. Alias Domains (Custom Level)

What it is: Custom domains outside your standard hierarchy.

Examples:

  • api.external-domain.com
  • www.mycompany.io
  • anything.com

What Sleakops does:

Scenario A: Domain matches an existing hosted zone

If external-domain.com is already a Provider or Environment in Sleakops:

  • ✅ Provides DNS records for SSL certificate validation
  • ✅ Provides ALB name for DNS configuration
  • ⚠️ You configure the DNS records yourself

Scenario B: Domain doesn't match any hosted zone

If anything.com is completely external:

  • ✅ Creates SSL certificate
  • ✅ Provides validation records for certificate
  • ✅ Provides ALB name for DNS configuration
  • ⚠️ You manage DNS at your domain provider

Use case:

  • Custom branded domains
  • External domains pointed to your services
  • Marketing or vanity URLs
  • Multi-domain services

When to use:

  • The default webservice domain doesn't fit your needs
  • You need multiple domains for the same service
  • Connecting external domains to your Sleakops services

Delegation Strategies

Sleakops offers three delegation approaches, giving you flexibility based on your infrastructure needs and organizational policies.

Delegate the Provider (root domain) and let Sleakops manage everything

What you delegate:

Provider domain nameservers to AWS Route 53

What Sleakops manages automatically:

  • ✅ All environment domains (hosted zones + SSL certificates)
  • ✅ All webservice domains (CNAME records + routing)
  • ✅ DNS propagation and validation
  • ✅ Complete SSL certificate lifecycle

Benefits:

  • 🚀 Zero DNS configuration after initial delegation
  • 🔒 Automated SSL certificate management
  • 🎯 Fully managed infrastructure
  • ⚡ Fastest deployment experience

Best for:

  • New projects starting fresh
  • Teams wanting minimal DNS overhead
  • Organizations embracing fully-managed solutions
  • Startups and fast-moving teams

Setup:

Delegate your root domain (e.g., sleakops.com) to Sleakops Everything else is automatic


Strategy B: Per-Environment Delegation

Delegate individual environment domains while keeping root domain control

What you delegate:

Individual environment domain nameservers (e.g., qa.sleakops.com, prod.sleakops.com)

What Sleakops manages automatically:

  • ✅ All webservice domains within delegated environments
  • ✅ SSL certificates for delegated environments
  • ✅ DNS records within delegated zones

What you manage:

  • ⚙️ Root domain DNS
  • ⚙️ NS records pointing to each environment

Benefits:

  • 🎛️ Control root domain for other purposes (email, marketing sites, etc.)
  • 🔒 Isolated environment management
  • ✅ Automatic webservice DNS within each environment
  • 🏢 Compliance with organizational DNS policies

Best for:

  • Organizations with existing root domain infrastructure
  • Teams needing root domain for non-Sleakops services
  • Gradual migration to Sleakops
  • Multi-team organizations with environment-level isolation

Setup:

Keep your root domain (e.g., sleakops.com) managed externally Delegate each environment (e.g., qa.sleakops.com) to Sleakops Add NS records in your root domain DNS for each environment


Strategy C: Full Control (Manual Management)

Retain complete DNS control and manually configure all records

What you delegate:

Nothing - you manage all DNS

What Sleakops provides:

  • 📋 DNS records for SSL certificate validation
  • 📋 ALB endpoints for traffic routing

What you manage:

  • ⚙️ All DNS zones and records
  • ⚙️ Certificate validation records
  • ⚙️ CNAME records pointing to ALB
  • ⚙️ All DNS updates and changes

Benefits:

  • 🎛️ Complete DNS infrastructure control
  • 🔐 Keep DNS within existing security boundaries
  • 📊 Integration with existing DNS monitoring
  • 🏢 Meet strict compliance requirements

Best for:

  • Organizations with strict DNS governance
  • Existing complex DNS infrastructure
  • Security policies requiring DNS isolation
  • Enterprises with dedicated DNS teams

Setup:

Create domains in Sleakops (no delegation) Sleakops provides validation records and ALB endpoints Manually add all required DNS records in your DNS provider


Delegation Strategy Comparison

AspectFull DelegationPer-EnvironmentFull Control
Setup Complexity⭐ Easiest⭐⭐ Moderate⭐⭐⭐ Complex
Ongoing Maintenance⭐ None⭐⭐ Minimal⭐⭐⭐ High
Flexibility⭐⭐ Limited⭐⭐⭐ Balanced⭐⭐⭐⭐ Maximum
Time to Deploy⚡ Instant⚡⚡ Minutes⚡⚡⚡ Manual
DNS ControlSleakopsSharedYou
Best for TeamsSmall-MediumMedium-LargeEnterprise

Domain Organization Patterns

Pattern 1: Standard Hierarchy (Works with any delegation strategy)

Benefits:

  • Clear environment separation
  • Easy to understand and manage
  • Automatic SSL and DNS

Pattern 2: Mixed Hierarchy with Custom Domains

Benefits:

  • Professional customer-facing domains
  • Maintains internal structure
  • Flexibility for white-labeling
  • Requires manual DNS for aliases (all strategies)

Pattern 3: Environment per Team/Project

Benefits:

  • Clear team ownership
  • Independent DNS management per team
  • Scalable for large organizations

Quick Decision Guide

NeedRecommended Strategy
Fastest setupFull Delegation
Keep root for email/other servicesPer-Environment Delegation
Maximum DNS controlFull Control
Gradual migrationPer-Environment Delegation
Strict complianceFull Control
New projectFull Delegation
Enterprise with DNS teamFull Control or Per-Environment
TaskTool
First time setupProvider Domain
Create new environmentEnvironment Domain
Deploy a serviceWebservice (automatic)
Custom branded URLAlias Domain
External domain integrationAlias Domain
White-label solutionAlias Domain