This document describes how to quickly publish a website on a newly-provisioned cPanel & WHM server.
|This procedure only covers the minimum steps to publish a website. We strongly recommend that you read the rest of our documentation and configure all of the useful features on your cPanel & WHM server.|
Publish a website
Log in to WHM.
To log in to WHM, perform the following steps:
Navigate to the following URL, where
IPADDRESS represents your server's IP address:
- Enter the
root username and password.
- Click Log in.
- Agree to our software license terms. A new interface will appear.
- Enter your email address in the Email Address text box.
- Enter your default nameservers in the Nameservers text boxes. Your hosting provider or networking provider should provide these.
- Click Finish. The WHM Home interface will appear.
For more information, read our How to Log in to Your Server or Account and Basic WebHost Manager Setup documentation.
Your server's hostname uniquely identifies it on the Internet. Most hosting providers will configure your server's hostname as part of the provisioning process. However, you may need to perform these steps manually:
- Navigate to WHM's Change Hostname interface (WHM >> Home >> Networking Setup >> Change Hostname).
- If you wish to change the hostname, enter a new hostname in the text box.
- Click Change. A confirmation message will appear.
- Click Add an A entry for your hostname. A new interface will appear.
- Click Add Entry. A confirmation message will appear.
For more information, read our Change Hostname documentation.
After you change the server's hostname, your browser may display a warning about a change to the server's SSL certificate.
Your server's DNS resolvers allow your server to look up the IP addresses of other sites on the Internet. Most hosting providers will configure your server's resolvers as part of the provisioning process.
To configure DNS resolvers on your server, perform the following steps:
- Navigate to WHM's Resolver Configuration interface (WHM >> Home >> Networking Setup >> Resolver Configuration).
- Click Proceed.
Enter the desired IPv4 or IPv6 addresses in the Primary Resolver and Secondary Resolver text boxes.
If your hosting provider did not give you this information, you can use Google's® nameservers (
- To configure a third resolver, enter that IP address in the Tertiary Resolver text box.
- Click Continue. A confirmation message will appear.
For more information, read our Resolver Configuration documentation.
We recommend that you set up the nameserver software on your server to ensure full functionality of all services.
If you're using your domain registrar or your hosting provider to handle nameserver services, you can skip this section for now. Instead, contact your domain registrar and hosting provider for information on how to set your DNS registration and records.
Your server's nameservers allow you to host your own DNS entries for sites. This allows you to control the branding of domains on your server when others look up information about them.
To select and configure nameservers on your server, perform the following steps:
- Navigate to WHM's Nameserver Selection interface (WHM >> Home >> Service Configuration >> Nameserver Selection)
- Select a nameserver software.
- Click Save.
- Navigate to WHM's Edit DNS Zone interface (WHM >> Home >> DNS Functions >> Edit DNS Zone).
- Select your hostname's zone file and click Edit.
- Add A records for
- Change the
NS entries to your nameservers.
- Click Save. A confirmation message will appear.
- Go to your registrar's website.
- Change the nameserver records for your main domain to point to your own nameservers.
For more information, read our How to Set Up Nameservers in a cPanel Environment, Basic WebHost Manager Setup, Nameserver Selection, and Edit DNS Zone documentation.
Set up Reverse DNS.
Reverse DNS uses pointer records (PTR) to convert IP addresses to domain names.
We strongly recommend that you set the PTR record of your server's primary IP address to your server's hostname from Step 2.
However, many hosting providers do not delegate authority for PTR records to their customers. Contact your hosting provider for assistance.
For more information, read our How to Configure Reverse DNS for BIND in WHM documentation.
Configure WordPress Manager.
If you plan to use WordPress® to create your website, perform the following steps:
- Navigate to WHM's Install cPAddons Site Software interface (WHM >> Home >> cPanel >> Install cPAddons Site Software).
- Select the checkbox next to the WordPress addon.
- Click Update cPAddon Config. A confirmation message will appear.
For more information, read our Install cPAddons Site Software and WordPress Manager documentation.
Create the account.
To create the cPanel account, perform the following steps:
- Navigate to WHM's Create a New Account interface (WHM >> Home >> Account Functions >> Create a New Account).
- Enter a domain name in the appropriate text box. The interface will suggest a username.
- Enter a password and confirm it. The Password Generator can generate a strong password for you.
- Enter a contact email address for the account.
- Click Create. A confirmation message will appear.
For more information, read our Create a New Account documentation.
If you chose to use your hosting provider or registrar's nameservers in Step 4, be sure to configure the DNS records for your domain on their nameservers.
Create an email account.
If you plan to use another mail provider for your site, you can skip this section for now.
To create an email account for your site, perform the following steps:
- Navigate to cPanel's Email Accounts interface (cPanel >> Home >> Email >> Email Accounts).
- Click Create.
- Enter a username in the appropriate text box.
- Set a password in the appropriate text box.
- Enter the storage space for the account in the appropriate text box.
- Click Create.
For more information, read our Email Accounts documentation. Also, read our Email Deliverability documentation to test your email account.
Build your website.
Select the method that you wish to use to build your website:
If you plan to run a WordPress site, perform the following steps:
Navigate to cPanel's WordPress Manager interface ( cPanel >> Home >> Applications >> WordPress Manager). The WordPress Manager interface will appear.
Click New Site.
Enter the domain on which to install the site. Or you can install it on a subdomain (for example,
Click Install. The interface will display a success message with the username and password for WordPress.
Navigate to your domain. The WordPress default page will appear.
Click the Log In link.
Enter the username and password.
Now you can start setting up your WordPress site.
For more information, read our Site Software documentation and the WordPress Support website.
If you plan to upload your own site content, you should display a placeholder while you build your site.
To set up a placeholder for your account, perform the following steps:
Navigate to cPanel's Site Publisher interface (cPanel >> Home >> Domains >> Site Publisher).
Select the domain.
Select a site template.
Enter the site information.
For more information, read our Site Publisher documentation.
To securely upload your own content to the website, perform the following steps:
Navigate to cPanel's Web Disk interface (cPanel >> Home >> Files >> Web Disk).
- If you run Microsoft Windows® Vista, 7, 8, or 10, perform the following additional steps to enable Digest Authentication:
- Click Enable Digest Authentication. A new window will appear
- Enter your cPanel account's password.
- Click OK.
Click Configure Client Access next to the default account.
Select your operating system.
Install the software.
Connect to your Web Disk. It will now appear on your workstation as another drive.
You can drag and drop content to your server as needed.
For more information, read our Web Disk documentation. You can also use our Git, File Manager, and FTP features to upload your content.