Skip to Content
DomainsDomain tools in cPanel

Site Publisher

This interface lets you quickly create a simple website, even if you've never built one before. You choose a template that suits your site, then enter the content the template asks for.

For example, you can use this interface to create a simple site that displays information about your business, or a temporary page while you prepare a more detailed website.

Note

Your hosting provider and third-party developers can add new Site Publisher templates.

Create or edit a Site Publisher website

Note

When you select an option, the interface automatically hides that section and shows the next one. To go back to a previous section, click its heading.

Choose a domain from the list of available domains, addon domains, and subdomains. If you only have one domain, or you reached this interface through a link after creating a subdomain or addon domain, the system selects that domain automatically and moves on to the next step.

Choose a template from the available options. The template selection section shows a preview image, name, and description for each template. If the selected domain currently uses a Site Publisher website, the system preselects its current template.

Enter or update the website content. The template you chose determines what content you enter in the customize and publish section.

Click Publish. A confirmation message appears with a link to your new website.

Important

If the directory that will hold the Site Publisher website already contains other files or directories, clicking Publish makes the system do the following: back up the directory's contents, delete any existing files with the same names as your new website's files, and then save the new website's files in the directory.

Useful links for other common tasks in your cPanel account:

  • Add an email account: from the Email Accounts interface.
  • Manage my website's files: from the File Manager interface.
  • Connect to the website with Web Disk: from the Web Disk interface.
  • Publish another Site Publisher website: using this same interface.

Select a domain

The domain selection section lists the domain name and the website directory (document root) for every domain your cPanel account owns. If a domain currently uses a Site Publisher website, the section also shows its template name.

  • Click a domain name to open it in a new browser window.
  • Click a document root to open it in the File Manager interface in a new window.
Note

If your account has a large number of domains, the interface automatically splits the table into pages. Use the page numbers at the top right of the section to navigate, or the search box to find a specific domain.

Site Publisher files

When you publish a Site Publisher website, cPanel automatically does the following:

  • Saves a copy of the current document root's contents as a compressed archive in /home/user/site_publisher/backups/, where user is your account username.
Note

If the system encounters a file system error or a quota overrun during this step, it won't save the backup and won't publish the new website.

  • Deletes any previous Site Publisher backups older than 30 days.
  • Creates the new website's files and saves them in the document root. If a new file conflicts with an existing one, the system replaces the old file with the new one. If an error occurs during this step, the system restores the original website content from the backup and doesn't publish the new website.
  • Saves the new website's configuration information in /home/user/site_publisher/configurations/, in a file with a name similar to home-user-public_html-example.com.json (where slashes are replaced with hyphens).
Important

The configuration file stores all of your Site Publisher website's data. We strongly recommend that you don't edit this file directly; always use this interface to edit Site Publisher websites.

The template you chose determines the other files your website uses, which may include HTML files, images, or other file types.

Remove a Site Publisher website

You can use Site Publisher to create a temporary website while you build a permanent one with other publishing tools such as WordPress. When your new website is ready, you'll need to remove the Site Publisher website manually (by deleting its files in File Manager).

How is this guide?

On this page