Vimzaa Knowledgebase
  • Getting Started
  • Virtual Private Servers
    • What is Virtual Private Server
    • Getting Started With Linux
      • An Introduction to the Linux Terminal
      • Basic Linux Navigation and File Management
      • An Introduction to Linux Permissions
      • An Introduction to Linux I/O Redirection
      • Linux Permissions Basics and How to Use Umask on a VPS
    • Connect with SSH
      • How to Add SSH Keys to VPS
      • SSH Essentials: Working with SSH Servers, Clients, and Keys
    • How To Edit the Sudoers File on Ubuntu and CentOS
    • Introduction to Nginx and LEMP on Ubuntu
      • Initial Server Setup with Ubuntu
      • Installing LEMP Stack on Ubuntu 14.04
      • Installing LEMP Stack on Ubuntu 16.04
    • Anti-Spam Best Practices
  • cPanel Hosting
    • Cloudflare
    • cPanel - Advanced
      • How to add and manage cron jobs / scheduled tasks in cPanel
      • How to track DNS using cPanel
      • How to create custom ‘error pages’ in cPanel
      • How to flush your local machines DNS Cache
      • How to use the Google Public DNS for faster DNS lookups
      • How to check if your domain has ‘propagated’ following DNS changes
      • Install Wildcard SSL Certificates using LetsEncrypt with cPanel
      • Correct SPF Records
      • Check processes or users with high iowait (99.99%) from Cloudlinux Logs
      • How to tune MySQL on a cPanel server with MySQLTuner
      • Clear disk space on cPanel Server by removing backups, trash etc
      • Add monitoring script to server for monitoring top, iostat etc
      • Testing your site before ‘go-live’ by editing your hosts file
    • cPanel - Domains
      • How to use the Site Publisher in cPanel
      • Managing addon domains in cPanel
      • What is the difference between addon domains and ‘alias’ domains?
      • Managing subdomains in cPanel
      • Managing domain aliases in cPanel
      • Managing domain redirects using cPanel
      • How to use the Simple Zone Editor in cPanel for managing your DNS Records
      • How to use the Zone Editor within cPanel to manage your DNS records
      • How to redirect all domain ‘alias’ to the main domain using cPanel
      • How to enable Cloudflare on your cPanel account
      • How to check what nameservers a domain is using
      • How to create Custom Nameservers / Vanity Nameservers
      • How do I transfer a domain name to Vimzaa?
    • cPanel - Managing Databases
      • Managing a MySQL Database in cPanel with phpMyAdmin
      • Manage MySQL Database in cPanel
      • Simplified database creation with the cPanel MySQL Wizard
      • Managing MySQL databases remotely using ‘Remote MySQL’ in cPanel
    • cPanel - Managing Email Accounts
      • Managing email accounts with cPanel
      • How to create and manage email forwarders using cPanel
      • Managing email routing with cPanel
      • Change Your E-Mail Account Password
      • Improving mail deliverability (SPF & DKIM)
    • cPanel - Managing Files
    • cPanel - Metrics
    • cPanel - Software and Applications
    • cPanel - Security
    • SiteBuilder Pro
    • Enable or disable PHP modules
    • How can I migrate my cPanels to Vimzaa Website Hosting?
    • SSH Access to cPanel Servers
    • How do I add another domain to my Hosting Account?
    • How do I access WHM (Web Host Manager)?
  • Plesk Hosting
    • An Introduction to Plesk
    • Getting Started with Plesk
      • How to login to Plesk for the first time
      • The Plesk User Interface Explained
      • Understanding Subscriptions in Plesk
      • How to upload content with Plesk
      • How to manage mailboxes / mail accounts with Plesk
      • Managing Web ApplicationsManaging Web Applications
    • Plesk Tutorials
      • A basic getting started guide to creating your first site with Plesk
      • How to manage DNS and nameservers using Plesk
    • Plesk Funtionality - Explained
      • Managing your User Account in Plesk
      • Managing your Web Hosting with Plesk
  • Game Servers
    • Setup Teamspeak 3 Server on Linux
    • Installing SteamCMD for Steam Game Servers
  • SSL Certificates
  • Domains
    • Can I register or transfer my domain to Vimzaa
    • Can I buy a domain name together with a web hosting plan
    • Default nameservers for shared webhosting
Powered by GitBook
On this page
  • Overview
  • Create or modify a Site Publisher website
  • Site Publisher files
  1. cPanel Hosting
  2. cPanel - Domains

How to use the Site Publisher in cPanel

PreviouscPanel - DomainsNextManaging addon domains in cPanel

Last updated 6 years ago

cPanel > Home > Domains > Site Publisher

Overview

This interface enables you to quickly create a simple website, even if you have never created a website before. When you use this interface, you will select an appropriate template for your website, and then enter the website content that the template requests.

For example, you can use this interface to create a simple website with your business’s information, or to create a placeholder page while you prepare a more elaborate website.

Note:

Hosting providers and third-party developers can create and add additional Site Publisher templates. For more information, read our documentation.

Create or modify a Site Publisher website

Note:

When you select an option, the interface automatically hides that section of the interface and displays the next section. To return to a section, click that section’s title.

To create or modify a Site Publisher website for one of your domains, perform the following steps:

  1. Select a domain from the list of available domains, addon domains, and subdomains.

    • If you only own a single domain, or if you accessed this interface via a link after subdomain or addon domain creation, the system automatically selects that domain and proceeds to the next step.

    • For more information about domain selection, read the section of this document.

  2. Select a template from the available options.

    • The Select a Template section of this interface displays a preview image, name, and description for each available Site Publisher template.

    • If you selected a domain that already uses a Site Publisher website, the system preselects the current template.

  3. Enter or update the desired website content.

    Note:

    The template that you select determines the content that you enter in the Customize and Publish section.

  4. Click Publish. A confirmation message will appear with a link to your new website.

  5. Warning:

    If the directory that will contain your Site Publisher website already contains other files or directories, the system will perform the following actions when you click Publish:

    1. Back up the directory’s contents. For more information, read the section below.

    2. Delete any existing files that use the same filenames as your new Site Publisher website’s files.

    3. Save the new website’s files to the directory.

    Note:

    You can also click the following helpful links for other common tasks within your cPanel account:

    • Add an email account. — Create and manage email addresses in cPanel’s interface (cPanel >> Home >> Email >> Email Accounts).

    • Manage my website’s files. — Upload and manage files in cPanel’s interface (cPanel >> Home >> Files >> File Manager).

    • Connect to this website with Web Disk. — Create Web Disk accounts in cPanel’s interface (cPanel >> Home >> Files >> Web Disk) to upload and manage files from your local computer.

    • Publish another Site Publisher website. — Use this interface to create another Site Publisher website.

Select a Domain

The Select a Domain section of the interface lists the domain name and website directory (document root) for every domain that your cPanel account owns. If a domain currently uses a Site Publisher website, the interface also lists the website’s template’s name.

  • Click the domain name to open the domain in a new browser window.

If your cPanel account owns a large number of domains, the interface automatically paginates the table. Click the page numbers in the top right corner of the section to navigate between pages of domains, or use the Search text box at the top of the list to search for a domain.

Site Publisher files

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

  1. The script saves a copy of the domain’s document root’s current contents as a tarball in the /home/user/site_publisher/backups/ directory, where user represents your cPanel account’s username.

    Note:

    If the system encounters a file system or file quota error during this step, it will not save the tarball and will not publish the new Site Publisher website.

  2. The system deletes any existing Site Publisher backups that are more than 30 days old.

  3. The system generates the new Site Publisher website’s files and stores them in the domain’s document root.

    • If one of the new website’s files conflicts with an existing file, the system overwrites the existing file with the new file.

    • If the system encounters an error during this step, it restores the website’s original contents from the backup tarball and does not publish the new Site Publisher website.

    • The system saves configuration information for the new website in the /home/user/site_publisher/configurations/ directory, where user represents your cPanel account’s username. It saves this file as the home-user-public_html-example.com.json file, where home-user-public_html-example.com represents the Site Publisher website’s target directory, with hyphens (-) instead of slashes (/).

      Important:

      The configuration file stores all of the data for your Site Publisher website. We strongly recommend that you do not modify this file directly. Instead, always use cPanel’s Site Publisher interface (cPanel >> Home >> Domains >> Site Publisher) to modify Site Publisher websites.

Your selected template determines the other files that your website uses. These files may include HTML files, images, or other types of files.

  • For more information about individual templates, contact your hosting provider or the template creator.

Click the website directory to open that directory in cPanel’s interface (cPanel >> Home >> Files >> File Manager) in a new browser window.

For information about template development, read our documentation.

Guide to Site Publisher Templates
Select a Domain
Site Publisher files
Email Accounts
File Manager
Web Disk
File Manager
Guide to Site Publisher Templates