CPanel panel usage tutorial

Source: Internet
Author: User
Tags cpanel subdomain subdomain name

CPanel panel is a commonly used Management Panel for foreign Linux Hosts and has powerful functions. Learn how to use the cPanel panel and operate other host management panels.

I personally prefer to use the cPanel panel. Therefore, we recommend that you use the host of the cPanel panel. The following describes how to use the cPanel panel.

If the purchased host is on the cPanel panel, the host will give you the address, account, and password for managing the cPanel Panel after you purchase the host. Don't talk about the logon method? There are two boxes, one account and one password.

After logging on, if you find that the interface is in English, click the Change Language option under the preferences menu, as shown in:

  

 

Enter this option to select Chinese.

Before building a website, we should first understand the two concepts: subdomains and additional domains. We have already introduced the subdomain zookeeper. Please read: What is the domain name?

To put it simply, bind a subdirectory.

When we purchase a cPanel panel host, the host chamber will ask you to provide a domain name. By default, the host is bound to the domain name you provide. Then, the website program can be placed in the public_html directory. However, some hosts can create multiple sites in one space. At this time, we need to use additional domains. After an additional domain is created, a folder named after your domain name will appear in the public_html directory, where the website program files will be placed.

For example, when purchasing a host, the domain name provided to the host provider is huihui. name, then the host is bound to huihui by default. name and www. huihui. name, we only need to put the website program under the public_html directory to access the website. However, if a host can create multiple sites, we may also need to build huihuige.com on this host. Then, we add the additional domain huihuige.com, place the website program file in the huihuige.com folder under the public_html directory.

To create an additional domain, log on to your cPanel Panel (seemingly nonsense) and find the additional domain options under the domain menu, as shown in:

  

 

Click "add domain" and enter your domain name on the "add domain" page, as shown in:

  

 

At this point, the additional domain is successfully created and a huihuige.com folder is automatically generated under the public_html directory. Do not worry, the generated folder name is the domain name you entered, not huihuige.com, unless you enter huihuige.com. The password entered here refers to setting the FTP password, which can be entered at will. Of course, you need to remember and ensure security. The FTP account can be seen in the FTP account on the cPanel panel.

Let's take a look at how to create a subdomain. When we create a website: huihuige.com, we may also want to create a tool.huihuige.com. At this time, we need to add a subdomain. Select the subdomain option under the domain menu, go to the subdomain add page, enter your subdomain name, and select the corresponding domain name, as shown in:

  

 

Now let's create a database. On the cPanel panel, find the database menu and select MySQL database, as shown in:

  

 

Enter the database name on the database creation page and click Generate database, as shown in:

  

 

You can enter the database name as needed. I enter test, but the generated database name is muguafen_test. Because my cPanel panel username is muguafen, the system automatically adds the prefix.

Then, create a database account, as shown in:

  

 

Here I fill in test. Similarly, the system will automatically add the prefix. Therefore, my database account is muguafen_test. The database account does not have to be the same as the database name. You can customize it. You can use the password generator to generate the password, but remember to copy the password and use it when building a website. If you accidentally forget the password, you can delete the database account and recreate it.

Finally, assign the database operation permissions to the database account and add the database account to the corresponding database, as shown in:

  

 

Here, I add the database account muguafen_test to the database muguafen_test so that the program can access the database muguafen_test through the database account muguafen_test. Click Add to go to the permission assignment page, as shown in:

  

 

Next, we upload the website program. Under the File menu in the cPanel panel, there is a file manager and the Legacy File Manager. These two are different. We usually use the File Manager, the Legacy file manager is used to delete files that cannot be deleted in FTP or file manager. As shown in:

  

 

We can see that there is an FTP account here. Click it to view your FTP account. After entering the file manager, select the public_html directory. Is everything clear? In the file manager, you can upload a single file, or upload a compressed package-compress all programs into a compressed package in zip format and decompress the package online. Note that it is in zip format. Linux Hosts do not support online decompression in rar format.

Finally, you can resolve the domain name and install the program.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.