Whenever you click "Publish" in the editor, WordPress goes live with that page or post. There isn't a special toggle or switch for publishing an entire website. However, you can make your WordPress website invisible to visitors until you've finished setting it up by turning on maintenance mode with the help of a plugin.