Admin

# Publish your site to CCMS Hosting

## Put the site you built and checked online exactly as it is, on an address that answers over HTTPS only. A project with the CCMS Hosting service gets its own ccms.site address and a separate preview address, and each launch goes live without being rebuilt.

[Get started](https://ccms.build/build-with-ai/)

## What goes live is exactly what you built

CCMS Core builds and grades your site on your own computer. When you launch to CCMS, the finished build is sent to CCMS Hosting and goes live as it is. CCMS never rebuilds it, so visitors get exactly the output you checked.

Before anything is published, the launch runs a preflight check and a publish gate. Starter placeholder text, whole pages that are not translated and unreviewed page schema stop the launch until they are fixed. No flag skips the gate.

Publishing is built to fail safely. If an activation fails, visitors keep getting the previous version. If the connection drops during a launch, the next launch of the same build continues the same publication instead of starting a second one. An older publication can never overtake a newer one.

## Your own ccms.site address

A project with the CCMS Hosting service gets its own address under ccms.site, plus a separate preview address. The address name is made from the name of your site folder or your project. A folder named oak-dental gives oak-dental.ccms.site, and the preview address is oak-dental-preview.ccms.site.

If the name is taken, CCMS adds four digits to it. Names that could pass for a bank, a sign-in page or a well-known brand are refused. You can change the name in CCMS Admin until the first publication, including a publication to the preview address. After that the address is fixed, so the address you have shared does not change.

Coming soon: free hosting on a name.ccms.site address.

## Preview on a real address

A preview launch publishes a draft to the preview address, so you and your customer can see it on a real address. It never touches the production site, and it can never replace or delay a production publication.

Search engines are never offered the preview site, whatever its own pages say. Form messages sent from the preview are stored but not emailed, and preview visits are not counted in your statistics.

## HTTPS only, with HSTS

Sites on CCMS Hosting answer over HTTPS only. A page request over plain http gets a permanent 301 redirect to the same address over https. Other requests over plain http, such as form posts, are refused and never answered unencrypted.

Every https answer carries HSTS, which tells the browser to use HTTPS on that address for one day. HSTS is set for each address on its own, because many sites share the ccms.site domain and no site should decide for another.

When you connect your own domain, one address is the main address, and you can choose which one. Every other address sends visitors there with a permanent 301 redirect. See [Your own domain](https://ccms.build/admin/own-domain/).

## Connected from the command line

You link a site to its CCMS Admin project once, with `ccms connect`. Signing in from the command line shows a short code that you approve in CCMS Admin. The session is kept only in your operating system’s secure storage, such as Keychain on macOS, and never in a plain file. After that, each `ccms launch` to CCMS publishes the site to CCMS Hosting.

After each launch, CCMS tells IndexNow search engines such as Bing which pages changed. Then the launch runs `ccms check-live`, which reads the live site from the outside: robots.txt, up to 200 pages, share images, http and www redirects, the sitemap and llms.txt.

Coming soon: [direct publishing](https://ccms.build/admin/direct-publishing/), which sends only the files that changed.

## Control over who publishes

While one person holds the edit lock, nobody else can publish the site. The lock is taken with `ccms lock` and holds for 15 minutes from the last renewal. If someone else holds it, publishing stops and tells you who is editing. Publishing also needs read and edit access to the project’s Website section, so you decide who can put changes live.

If a change was a mistake, roll back to an earlier published version from CCMS Admin. It goes live as a new version, and nothing is rebuilt.

[Ask us](mailto:hello@ccms.build)

## Questions and answers

### Which projects get a ccms.site address?

Projects with the CCMS Hosting service. The address is given when Hosting is set up for the project, together with a separate preview address. Write to [hello@ccms.build](mailto:hello@ccms.build) if you want CCMS Hosting for a project.

### Can I use my own domain?

Yes. CCMS Admin shows the exact DNS records to add and checks them when you press Check now. The project needs CCMS Hosting and must have been published once before CCMS connects the domain. One address is the main address, and you can choose which one. Every other address sends visitors there with a permanent 301 redirect.

### What happens if a publication fails?

Visitors keep getting the version that was live before. If a launch is interrupted, running the same build again continues the same publication. You can also roll back to an earlier published version from CCMS Admin.

### Can search engines find the preview site?

No. CCMS Hosting never offers a preview site to search engines, whatever its own pages say. Use the preview address to check a draft on a real address before it goes live.
