Overview
Subdomain Routing lets you serve Anymorph pages from a dedicated subdomain while keeping your main domain unchanged.Prerequisites
- Access to your DNS settings
- Your workspace slug from Anymorph Dashboard
Setup Steps
Add ACME Challenge Record
Add this CNAME record to enable SSL certificate issuance:
Replace
| Type | Name | Value |
|---|---|---|
| CNAME | _acme-challenge.blog | _acme-challenge.blog.yourdomain.com.challenges.saascustomdomains.com |
blog with your subdomain name.Adding this first enables zero-downtime setup. Your certificate is issued before traffic switches.
Wait for SSL Verification
In Anymorph Dashboard, wait until the SSL status shows Active.This typically takes 5–15 minutes.
Add A Records
Once SSL is active, add these A records:
| Type | Name | Value |
|---|---|---|
| A | blog | 99.83.186.151 |
| A | blog | 75.2.96.173 |
DNS Provider Guides
Cloudflare
Cloudflare
- Go to DNS > Records
- Click Add Record
- Add the ACME CNAME:
- Type:
CNAME - Name:
_acme-challenge.blog - Target:
_acme-challenge.blog.yourdomain.com.challenges.saascustomdomains.com - Proxy status: DNS only (gray cloud)
- Type:
- After SSL is active, add A records:
- Type:
A, Name:blog, IPv4:99.83.186.151 - Type:
A, Name:blog, IPv4:75.2.96.173
- Type:
Use DNS only mode (gray cloud). Cloudflare’s proxy can interfere with SSL.
GoDaddy
GoDaddy
- Go to My Products > DNS
- Click Add under DNS Records
- Add the ACME CNAME first
- After SSL verification, add both A records
Namecheap
Namecheap
- Go to Domain List > Manage > Advanced DNS
- Click Add New Record
- For CNAME, enter the subdomain name in Host (e.g.,
_acme-challenge.blog) - For A records, enter just the subdomain name (e.g.,
blog)
AWS Route 53
AWS Route 53
- Go to Hosted Zones and select your domain
- Click Create Record
- Enter your subdomain name (e.g.,
blog) - Set Record type to
A - Add both IP addresses
Google Domains / Squarespace
Google Domains / Squarespace
- Go to DNS settings
- Click Manage custom records
- Add the ACME CNAME record
- Add both A records for your subdomain
Common Subdomain Patterns
| Subdomain | Use Case |
|---|---|
blog.example.com | Company blog, news, updates |
learn.example.com | Tutorials, guides, resources |
compare.example.com | Product comparisons |
vs.example.com | X vs Y comparison pages |
guides.example.com | How-to guides |
resources.example.com | Downloadable resources, whitepapers |
Subdomain Status
After configuration, your subdomain will show one of these statuses:| Status | Meaning |
|---|---|
| Pending SSL | Waiting for ACME challenge verification |
| SSL Active | Certificate issued, waiting for A records |
| Active | Fully configured and serving traffic |
DNS propagation typically takes 5–30 minutes but can take up to 48 hours.
Troubleshooting
SSL certificate not issuing
SSL certificate not issuing
- Verify the ACME challenge CNAME is correct
- Check for typos in the record value
- Ensure no CAA records are blocking certificate issuance
- The value must end with
.challenges.saascustomdomains.com
Subdomain not resolving
Subdomain not resolving
- Verify both A records are added:
99.83.186.151and75.2.96.173 - Check DNS propagation at whatsmydns.net
- Allow up to 48 hours for full propagation
Wrong content showing
Wrong content showing
- Clear your browser cache
- Verify the subdomain is registered in Anymorph Dashboard
- Check that your pages are deployed to this subdomain
Mixed content warnings
Mixed content warnings
- Wait for SSL certificate to fully propagate
- Ensure all resources on your pages use HTTPS
FAQ
Does this affect my main domain?
Does this affect my main domain?
No. Subdomain Routing only affects the specific subdomain you configure. Your main domain remains completely unchanged.
Can I use multiple subdomains?
Can I use multiple subdomains?
Yes. You can configure as many subdomains as needed. Each requires its own DNS setup.
Will email (MX records) be affected?
Will email (MX records) be affected?
No. MX records are separate from A records. Email routing is unaffected.
Can I switch to a different subdomain later?
Can I switch to a different subdomain later?
Yes. Add the new subdomain configuration, migrate your content, then remove the old subdomain.
How does SEO work with subdomains?
How does SEO work with subdomains?
Subdomains are treated as separate sites by search engines. Content on
blog.example.com builds its own domain authority, separate from example.com.Why A records instead of CNAME?
Why A records instead of CNAME?
A records provide more reliable routing and work consistently across all DNS providers. CNAME records can have compatibility issues with some configurations.