Deployment Guide

Deploy your websites to production with confidence using Mortar CMS's multi-environment deployment system.

Environment Overview

Mortar CMS provides a complete multi-environment deployment pipeline for every website. Each website automatically gets four different environments to support your development and deployment workflow.

Developer

Your development environment for testing code changes and new features.

dev-{domain-slug}.sites.mortarcms.com

Staging

Pre-production environment for content review and final testing.

stg-{domain-slug}.sites.mortarcms.com

Internal Production

Managed production environment on Mortar CMS infrastructure.

{domain-slug}.sites.mortarcms.com

Production

Your custom domain (optional) - requires a registered domain and DNS configuration.

your-custom-domain.com

Subdomain Naming Conventions

How Domain Slugs Are Generated

Mortar CMS automatically converts your domain name into a URL-safe slug by replacing dots with hyphens and removing special characters.

Original Domain:
mortarcms.com
Generated Slug:
mortarcms-com

Example: mortarcms.com

Developer Environment
For development and testing
dev-mortarcms-com.sites.mortarcms.com
Staging Environment
For pre-production review
stg-mortarcms-com.sites.mortarcms.com
Internal Production
Managed production environment
mortarcms-com.sites.mortarcms.com
Custom Production
Your registered domain (optional)
mortarcms.com

More Examples

Complex Domain: my-awesome-blog.example.com

Generated Slug:
my-awesome-blog-example-com
Developer:
dev-my-awesome-blog-example-com.sites.mortarcms.com
Staging:
stg-my-awesome-blog-example-com.sites.mortarcms.com
Internal Production:
my-awesome-blog-example-com.sites.mortarcms.com

Deployment Workflow

1

Develop

Make changes and test them on your developer environment. This is your sandbox for experimenting with new features and code changes.

2

Stage

Deploy to staging for content review and final testing. Share the staging URL with stakeholders for approval before going live.

3

Deploy to Internal Production

Push to your internal production environment on Mortar CMS infrastructure. This is always available and provides a reliable fallback.

4

Connect Custom Domain (Optional)

Connect your registered domain name for the final production deployment. This requires domain verification and DNS configuration.

SSL and Security

Automatic SSL Certificates

All Mortar CMS subdomains automatically include SSL certificates. Your websites are secure by default across all environments.

  • • Developer, staging, and internal production environments include SSL
  • • Custom domains can be configured with Let's Encrypt or your own certificates (available for professional and enterprise plans)
  • • Automatic certificate renewal and management
  • • HTTPS redirect and security headers included

Next Steps

Get Started

Ready to deploy your first website? Create an account and start building.

Create Account

Need Help?

Have questions about deployment? Our support team is here to help.

Contact Support