CPanel Beginner's Guide

From Acenet Knowledgebase
Revision as of 19:09, 20 January 2013 by Docs admin (Talk | contribs) (Created page with "==Server was just turned up, now what?== The first thing you will need to be able to do, once your server has been turned up, is access it via SSH. You can view our knowledge...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Server was just turned up, now what?

The first thing you will need to be able to do, once your server has been turned up, is access it via SSH. You can view our knowledgebase article on how to do this here:

How to connect to your server via SSH using PuTTY

Install cPanel

Once you have logged into your server via SSH, you will now want to install cPanel. You can view our knowledgebase article on how to do this here:

How to Install cPanel

Configure cPanel

Now that cPanel has been installed, you will want to configure it through your WHM (Web Host Manager). You can access your server's WHM at the following URL:

https://SERVERSMAINIP:2087

replacing 'SERVERSMAINIP' with your server's actual main IP. You will want to log in as root.

Initial Setup Wizard

Upon first logging into your WHM as root, the 'Initial Setup Wizard' will appear. Here is where you will configure your server contact email address, name servers, select your mail server, and more. After you finish the 'Initial Setup Wizard', here are the things in WHM you will want to configure.

Tweak Settings

You can configure your cPanel server however you like but here are the things Acenet suggests to configure:

Domains

  • Allow Remote Domains - set this to 'On'
  • Allow unregistered domains - set this to 'On'
  • public_html subdomains only - set this to 'On'

Mail

  • Initial default/catch-all forwarder destination - set this to 'Fail'
  • Track email origin via X-Source email headers - set this to 'On'
  • Prevent “nobody” from sending mail - set this to 'On'

Notifications

  • Send bandwidth limit notification emails - set this to 'On'

System

  • Allow Sharing Nameserver IPs - set this to 'On'
  • Default shell jailed - set this to 'On'

Apache mod_userdir Tweak

You can view more details on this here:

Mod userdir

We suggest enabling this and excluding protection for the DefaultHost (nobody).

Add a New IP Address

Here is where you will add any additional IPs your server has routed to it.

FTP Server Configuration

We suggest setting the following to 'No' for security purposes:

  • Allow Anonymous Logins
  • Allow Anonymous Uploads
  • Allow Logins with Root Password

Service Manager

Here is where you want to enable services you want to run on your server and whether or not you want cPanel to monitor them. If the services are monitored by cPanel, they will automatically try to be restarted if they ever fail and cPanel will email you if it has any issues with any of the monitored services.

Background Process Killer

We suggest checking all of the processes for security purposes.

Compile PHP/Apache

Now that cPanel has been installed, you will want to compile PHP and Apache on your server. You can view our knowledgebase article on how to do this here:

Compile Apache and PHP with cPanel


Additional cPanel Information

Acenet's knowledgebase has articles on almost anything you would like to do within cPanel or WHM. You can view our cPanel and WHM knowledgebase articles here:

http://kb.acenet.us/Category:CPanel

http://kb.acenet.us/Category:WHM_%28Web_Host_Manager%29