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.comstaging.sleakops.comprod.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.comwww.mycompany.ioanything.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.
Strategy A: Full Delegation (Recommended)
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