Site Publisher
outline
Even if you've never created a website before, you can use this interface to quickly create a simple website. This interface allows you to select the appropriate template for your website and then enter the website content requested by the template.
For example, you can use this interface to create a simple website with your business information or to create placeholder pages while preparing a more sophisticated website.
Note :
- For steps to upload your own content to the website, see Read the article From WHM to Website
- Hosting providers and third-party developers can create and add additional Site Publisher templates. For more information, see the Guide to Site Publisher templates. to Site Publisher Templates) Please read the article.
Create or modify a Site Publisher website
Note :
When you select an option, the interface automatically hides that part of the interface and shows the next section. To return to a section, click its title.
To create or modify a Site Publisher website for one of your domains, follow these steps:
1. Select a domain from the list of available domains, add-on domains, and subdomains.
- If you only own a single domain, or if you accessed this interface through a link after creating a subdomain or add-on domain, the system will automatically select that domain and proceed to the next step.
- For more information about choosing a domain, read the Select a domain section of this article.
2. Select a template from the available options.
- The Template Select (Select a Template) section of this interface contains the thumbnail, name, and description of each available Site Publisher template Display.
- If you select a domain that already uses a Site Publisher website, the system will preselect the current template.
3. Enter or update your desired website content.
Note : The template you choose determines the content you enter in the Customize and Publish section.
1. Click Publish . A confirmation message will appear with a link to the new website.
Caution : If the directory containing the site publisher website contains other files or directories, when you click Publish the system does the following:
1. Back up the contents of the directory. Please read the Site Publisher files for more information.
2. Delete any existing files that use the same file names as the files on your new Site Publisher website.
3. Save the files for your new website to a directory.
Note :
You can also click these helpful links for other common tasks within your cPanel account:
- Email Account Add (Add an email account). —cPanel's Email Accounts interface ( cPanel > > Home > > Email > > Email Account ) to create and manage email addresses.
- website's —cPanel's File Manager interface ( cPanel > > Home > > File > > File Administrator ) to upload and manage files.
- Web To disk Connect to this website (Connect to this website with Web Disk). —cPanel's Web Disk interface ( cPanel > > Home > > File > > Web Disk ) to create a Web Disk account to upload and manage files from your local computer.
- Another Site Publisher Website Publish (Publish another Site Publisher website). — Use this interface to create other Site Publisher websites.
Choose a domain
The Select a Domain section of the interface lists the domain name and website directory (document root) for all domains owned by your cPanel account. If your domain currently uses a Site Publisher website, the interface also lists the website's template name.
- Click the domain name to open the domain in a new browser window.
- Click into your website's directory to open cPanel's File Manager in a new browser window. Interface ( cPanel > > Home > > Files > > Open that directory in Files Administrator ).
If your cPanel account owns a large number of domains, the interface automatically numbers the tables. Navigate to a domain's pages by clicking the page number in the top right corner of the section, or use the Search text box at the top of the list to search for a domain.
Site Publisher file
When you publish a Site Publisher website, cPanel automatically performs the following tasks:
1. The script saves a copy of the current content of the domain's document root as a tarball in the /home/user/site_publisher/backups/ directory. Here, user represents the username of your cPanel account.
Note :
If your system encounters file system or file quota errors during this step, the tarball will not be saved and the new Site Publisher website will not be published.
1. The system deletes existing Site Publisher backups that are older than 30 days.
2. The system creates a file for your new Site Publisher website and saves it to the document root of your domain.
- If one of the files on the new website conflicts with an existing file, the system overwrites the existing file with the new file. Restores the original content of your website from a backup tarball and does not publish a new Site Publisher website.
- The system stores configuration information for new websites in the /home/user/site_publisher/configurations/ directory. Where user represents the username of your cPanel account. Save this file as home-user-public_html-example.com.json, where home-user-public_html-example.com is replaced by a hyphen (-) instead of a slash (/) and the target directory of the Site Publisher website. indicates.
Important :
The configuration file stores all data for every site publisher website. We recommend that you do not modify this file directly. Instead, always use this interface to modify the site publisher website.
The template selected determines what other files the website uses. These files may include HTML files, images, or other file types.
- For information about developing templates, see Guide to Site Publisher Templates (Guide to Site Publisher Templates) Read the article.
- For more information about individual templates, please contact your hosting provider or template creator.
Remove Site Publisher website
Use Site Publisher function to create a temporary website, or You can create a permanent website with other publishing tools, such as WordPress® . Once your new website is ready, you will need to remove the website created by Site . For more information, see Site Publisher Website Read the article How to Remove a Site Publisher Website .
View original text: Site Publisher