Dịch vụ seo 9.9/10 bởi 919 người bình chọn.

Part 2 – Initial WHM Setup and Configuration


WHM is "Web Host Manager". You will be doing most of the server configuration in WHM.
WHM is used to manage the server as a whole as well as all accounts on the server. cPanel is the customer control panel that is used to setup and configure individual sites, e-mail addresses and various other day-to-day aspects of a running website.
Make sure you to have the two (2) IP addresses written down that you gathered in the previous step. To access WHM for the first time you will need to locate the IP address of your VPS listed in your welcome e-mail (same as the primary you just wrote down from above), then open a web browser and type the following:
https://yourIPaddress:2087
Example: https://192.168.1.25:2087
Depending on your browser you will most likely get an "Invalid Security Certificate" message of some type. You can trust the certificate, it is just self-signed. In Firefox you have to add an exception, in Internet Explorer and Opera you just have to accept the certificate. Newer versions of Safari should work as well. If you would like to avoid this message in the future you will need to purchase a private SSL certificate. You can purchase one here:
IMPORTANT: If you receive a message about the license not being active or "Invalid License File" please see Appendix A at the end of this document. Otherwise, continue.
You will be presented with a login box asking for a username and password.
Enter "root" (without quotes) as the user-name and the password that is provided in your welcome e-mail. Initially this is set to the same password you used to login to the VPS control panel in the first step.
Upon successful login you will be see the following:
The main window will show to the EULA (End User License Agreement) for cPanel. Please browse the EULA, and then click on "I Agree/Go to Step 2" at the bottom of the page.

Step 2 – Setup Networking

The main window will then change to the "Setup Networking" screen. Step 2 "Setup Networking" will be highlighted in the upper-left corner of your browser. You can reference this sidebar to see what step you are currently working on.
The most important one for you to fill in is the very first one labeled "Server Contact E-mail address". In this blank put the e-mail address you wish to be notified when events occur on your server. The other contact fields are optional (AIM, ICQ). If you wish to use them click the checkbox, then enter the requested information.
WARNING: The "Server Contact E-mail Address" will get quite a bit of e-mail so you may want to set up a separate address for these notifications. You can create this address at a later time in your cPanel account if you wish -- it does not have to exist yet.
The next box is entitled "Hostname". This should match the hostname we set in the first section of this document. If it does not match please update it to match the one you set previously. The entry below is just an example, please do not use.
In the box entitled "Resolvers" verify they are correctly set to the following:
Primary Resolver: 69.39.86.5
Secondary Resolver: 69.39.89.9
Third Resolver should be left blank.
Changing these values to anything else will cause your server to not function properly. DO NOT CHANGE THESE VALUES!!!!
In the final box on the screen "Main Ethernet/Network Device" it should be set to "eth0" by default, which is the correct setting.
Once you have verified this information click "Save & Go to Step 3"

Step 3 – Setup IP address

On the Step 3 page, verify that 2 IP addresses are listed under the "Current IP Addresses" box.
They should match the two you wrote down in the first section of this document – NOT the ones listed above. If you do not see two IP addresses listed, please submit a ticket to technical support at http://my.a2hosting.com so we can repair this issue. Please do not attempt to add the missing IP address on your own.
You can then click, "Skip this Step and use Default Settings" at the top of the Step 3 screen.

Step 4 – Nameservers

Step 4 Involves setting up your nameservers. Please pay special attention to this section. Your domain name will not resolve properly if this section is not completed properly.
The first section is to select the nameserver software you want to use. Unless you are an experienced user and have a specific reason for using BIND, we highly recommend selecting NSD on your VPS. The advantages/disadvantages are listed next to each selection.
The next box in Step 4 is where you chose your nameserver URL's. Please use the primary domain you intend to use with your account.
For example if your main domain is www.testingsite.com you would use:
ns1.testingsite.com
ns2.testingsite.com
In the final box in Step 4 we need to enter the IP addresses you wrote down in the first section of this document.
Check the boxes for both "Add 'A Entries' for all Nameservers" and "Add 'A Entries" for hostname. The primary IP goes in the text field next to "Nameserver 1" and the secondary goes in the text field next to "Nameserver 2". In the last box put the primary IP address.
DO NOT use the IP address listed above. They will not work and are only provided as examples.
Click "Save & Go to Step 5"
A screen will appear that says "Setting Up Nameserver Settings". This will take 30 seconds to a few minutes depending on your VPS type.

Step 5 – Services

The services section allows you to select the FTP and Mail program you would like to use on your server. On a VPS we recommend using:
FTP – Pure-FTPD
Mail – Dovecot
cPHulk – Enabled
You are free to select the programs you are more comfortable with but the above selections will use the least amount of memory and ensure better performance on your VPS.
Once you have selected your choices click "Save & Go to Step 6". The screen will change and you should see a box that says, "Setting Up Services" This will remain on the screen for 30 seconds or more depending on the options chosen.

Step 6 – Quotas

We recommend enabling quotas. Quotas enable you to easy set specific users disk space limits. It's much easier to enable them on a fresh system than try to set them up later. Once you have made your selection click the "Finish Setup Wizard" button.
The screen will go white while quotas are enabled then you will be taken to the main WHM screen.
That's it for Initial Setup in WHM. We have a few minor details to work out with your nameservers which we will cover in the Section 3. After that you can begin setting up for first site in Section 4.