# Publishing a website

Quelle: https://madpublishing.ch/en/help/publish-a-website
Stand: 2026-10-15

> Publishing transfers the current state of your website to the address where visitors see it. Before that, two things are worth using: the preview, which shows you the same page under a time-limited address, and the dry run, which lists what would be transferred without changing anything.
> 
> Files are transferred in a fixed order: images and media first, then CSS and JavaScript, then the pages, and only at the very end is anything deleted. That way the website stays usable even if the transfer breaks off. While it runs, though, it can already show part of the new state. If it breaks off, simply publish again; it picks up where it stopped.

Publishing transfers the current state of your website to the address where
visitors see it. Before that, two things are worth using: the preview, which
shows you the same page under a time-limited address, and the dry run, which
lists what would be transferred without changing anything.

Files are transferred in a fixed order: images and media first, then CSS and
JavaScript, then the pages, and only at the very end is anything deleted. That
way the website stays usable even if the transfer breaks off. While it runs,
though, it can already show part of the new state. If it breaks off, simply
publish again; it picks up where it stopped.

## Preview

The preview address is valid for 60 minutes. It is meant for looking – for you
or for someone you want to show the page to for a moment –, not for sending
around and not as a second website: it is not intended for search engines and
it expires. After that, your assistant gets you a new one.

A preview address can’t be taken back once it exists — whoever has it can open
it for as long as it is valid.

## Dry run

It shows which files would be new, changed or gone. That is the moment to
notice that half a folder was deleted by accident. Only then do you publish for
real.

## After publishing

The state is kept as a version. You can publish an earlier state again at any
time, see [Versions and rolling back](https://madpublishing.ch/en/help/versions-and-rollback).