CPanel Beginner's Guide: Difference between revisions

From Acenet Knowledgebase
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 35: Line 35:
*Courier - Extremely reliable but uses more memory (RAM) than Dovecot.
*Courier - Extremely reliable but uses more memory (RAM) than Dovecot.
*Dovecot (default choice) - Highly configurable, better IMAP performance, less memory (RAM) usage, BlackBerry® Fastmail support are the advantages. Its disadvantage is trash mailbox is not automatically expunged.
*Dovecot (default choice) - Highly configurable, better IMAP performance, less memory (RAM) usage, BlackBerry® Fastmail support are the advantages. Its disadvantage is trash mailbox is not automatically expunged.


After you finish the 'Initial Setup Wizard', here are the things in WHM you will want to configure:
After you finish the 'Initial Setup Wizard', here are the things in WHM you will want to configure:
Line 56: Line 57:
* [[File:Whm_select_subnet.jpg‎|link=]] :: you will want to select 255.255.255.248 from this drop down.
* [[File:Whm_select_subnet.jpg‎|link=]] :: you will want to select 255.255.255.248 from this drop down.


If you have a dedicated server, you may have been given IPMI log in details. If your dedicated server has IPMI, IPMI was configured to use one of your IPs that comes with your server. You will want to exclude the IP in the 'IPs and IP ranges to exclude from the range of new IPs (optional)' field.
* ''If you have a dedicated server, you may have been given IPMI log in details. If your dedicated server has IPMI, IPMI was configured to use one of the IPs that comes with your server. You will want to exclude the IP that was assigned to IPMI in the 'IPs and IP ranges to exclude from the range of new IPs (optional)' field. You can verify which IP was assigned to IPMI by the URL that was provided in your server's turn up details. The IPMI URL will be the IP that was assigned to IPMI.''


Once you have configured the above mention fields, you will want to click the [[File:Whm_submit.jpg‎|link=]] button.
Once you have configured the above mention fields, you will want to click the [[File:Whm_submit.jpg‎|link=]] button.


If you have an additional IP range you want to configure on your server, you will want to specify the range in the 'New IP or IP range to add' field (like you did for the IP range that comes with your server).
====Additional IP Ranges====
 
If you have an additional IP range you purchased that you want to configure on your server, you will want to specify the range in the 'New IP or IP range to add' field (like you did for the IP range that comes with your server).
 
The only thing you may need to configure different is the subnet mask depending on the amount of IPs you purchased. Here is what you will want to configure the subnet mask as for various IP ranges:
 
* /29 (8 IPs, 6 Usable) :: 255.255.255.248
* /28 (16 IPs, 14 Usable) :: 255.255.255.240
* /27 (32 IPs, 30 Usable) :: 255.255.255.224
* /26 (64 IPs, 62 Usable) :: 255.255.255.192
* /25 (128 IPs, 126 Usable) :: 255.255.255.128
* /24 (256 IPs, 254 Usable) :: 255.255.255.0


===FTP Server Configuration===
===FTP Server Configuration===

Latest revision as of 15:39, 15 February 2013

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.

Name servers

If you do not already have name servers and are not sure how to create name servers, you can view our knowledgebase article on how to create name servers here:

Creating Name Servers

Mail Server

You can choose between Courier and Dovecot for your server's mail server. You can view details on the advantages/disadvantages of these mail servers below.

  • Courier - Extremely reliable but uses more memory (RAM) than Dovecot.
  • Dovecot (default choice) - Highly configurable, better IMAP performance, less memory (RAM) usage, BlackBerry® Fastmail support are the advantages. Its disadvantage is trash mailbox is not automatically expunged.


After you finish the 'Initial Setup Wizard', here are the things in WHM you will want to configure:

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.

Your server's main IP might be the only IP currently configured on your server. To add your remaining IPs, you will want to specify the following in the respective fields:

  •  :: you will want to specify your server's main IP followed by /29. For example, if your main IP is 10.1.10.13, you will want to specify: 10.1.10.13/29
  •  :: you will want to select 255.255.255.248 from this drop down.
  • If you have a dedicated server, you may have been given IPMI log in details. If your dedicated server has IPMI, IPMI was configured to use one of the IPs that comes with your server. You will want to exclude the IP that was assigned to IPMI in the 'IPs and IP ranges to exclude from the range of new IPs (optional)' field. You can verify which IP was assigned to IPMI by the URL that was provided in your server's turn up details. The IPMI URL will be the IP that was assigned to IPMI.

Once you have configured the above mention fields, you will want to click the button.

Additional IP Ranges

If you have an additional IP range you purchased that you want to configure on your server, you will want to specify the range in the 'New IP or IP range to add' field (like you did for the IP range that comes with your server).

The only thing you may need to configure different is the subnet mask depending on the amount of IPs you purchased. Here is what you will want to configure the subnet mask as for various IP ranges:

  • /29 (8 IPs, 6 Usable) :: 255.255.255.248
  • /28 (16 IPs, 14 Usable) :: 255.255.255.240
  • /27 (32 IPs, 30 Usable) :: 255.255.255.224
  • /26 (64 IPs, 62 Usable) :: 255.255.255.192
  • /25 (128 IPs, 126 Usable) :: 255.255.255.128
  • /24 (256 IPs, 254 Usable) :: 255.255.255.0

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 and configured on your server, you will want to compile Apache and PHP. 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 at the links provided below.

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

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