How To Create New Files and Folders in File Manager

 
This tutorial assumes you’ve already logged in to cPanel’s File Manager.

  1. Click on New File.

    filemgr-cpanel-4-new-scene02_1

    Leave the public_html path as it is because we always need to upload files in this folder. You will learn how to upload files in subfolders a little later.

  2. Type the file name here.

    filemgr-cpanel-4-new-scene03_1

  3. Then click Create New File.

    filemgr-cpanel-4-new-scene04_1

    Your file has been created successfully.

  4. Let’s create a new folder now. Click on New Folder.

    filemgr-cpanel-4-new-scene05_1

  5. Type the folder name here.

    filemgr-cpanel-4-new-scene06_1

  6. Please type the path where you want to create this new folder.In this case, we will keep it as it is.

    filemgr-cpanel-4-new-Scene6a

  7. Click Create New Folder to continue.

    filemgr-cpanel-4-new-Scene6b

    Your folder was created successfully.

    filemgr-cpanel-4-new-Scene7a

    You can also see it in the left margin.

    filemgr-cpanel-4-new-Scene7b

 

How To Copy and Move Files in File Manager

 
This tutorial assumes you’ve already logged in to cPanel’s File Manager.

  1. Select the file you want to copy. Let’s select testfile.html.

    filemgr-cpanel-5-copy-scene02_1

  2. Click on Copy.

    filemgr-cpanel-5-copy-scene03_1

  3. Please type the file destination, in this case, we will use the “test” folder, then click on Copy File(s).

    filemgr-cpanel-5-copy-scene04_1

    You have successfully copied the file. To check it, either double click on the “folder name” in the right margin, or single click on the “folder name” in the left margin.

    filemgr-cpanel-5-copy-scene05_1

    It’s there. You have successfully copied the file.

  4. Now let’s Move newtest.html to thepublic_html folder. Select newtest.html, and click Move file.

    filemgr-cpanel-5-copy-scene07_1

  5. Make sure your path is public_html only. Now click on Move file(s).

    filemgr-cpanel-5-copy-scene08_1

  6. Notice that the newtest.html file is gone from this list. To confirm that it has moved to public_html, click it in the left margin.

    filemgr-cpanel-5-copy-scene10_1

    Congratulations, you have successfully moved the file. You can also copy multiple files by simply pressing the control key, selecting them and dragging the files to the destination folder in the right margin. Or you can move a single file by just dragging it to the destination folder in the left margin.

 

How To Upload and Download Files with File Manager

 
This tutorial assumes you’ve already logged in to cPanel’s File Manager.

  1. Click Upload to go to the upload page.

    filemgr-cpanel-7-upload-scene02_1

    Now let’s explore the content of the page.

    filemgr-cpanel-7-upload-scene03_1

    This info tells you that you have a file size limit of 999.58 MB for this account. This may be different depending on the account type you have. Please note that the upload page will be opened in a new tab of the browser. If checked, this option allows you to overwrite files if they are already found in the same folder.
    You can set permissions for the files here. We will learn about this in the next tutorial. For now leave it as is.

  2. Now let’s upload a file. Click the Browse button to select the file from your computer.

    filemgr-cpanel-7-upload-scene04_1

  3. Now select the file you want to upload. Let’s upload “Chrysanthemum”. Double click it to continue.

    filemgr-cpanel-7-upload-scene05_1

    You will see the file name in the box. The uploading process will start automatically, and soon a progress bar at the bottom right will appear.

    filemgr-cpanel-7-upload-scene07_1

    The process has been started.
    Information will be provided about the upload progress… Such as, the amount uploaded, percentage, estimated time and upload speed.

    filemgr-cpanel-7-upload-scene08_1

  4. Now the upload has completed.

    filemgr-cpanel-7-upload-scene09_1

    Close this tab and go back to the File Manager.

  5. Click Reload to see the file.

    filemgr-cpanel-7-upload-scene10_1

    You have successfully uploaded the file.

  6. Now let’s download a file. Select “testfile.html” by single clicking it, and click the Download button.

    filemgr-cpanel-7-upload-scene12_1

  7. You will see a popup window asking you to open or save the file. Select Save File.

    filemgr-cpanel-7-upload-scene13_1

  8. Good! Now click OK to continue.

    filemgr-cpanel-7-upload-scene14_1

    That’s it! You have successfully downloaded the file.

 

How To Edit Files with File Manager

 There are three different ways to edit files in the File Manager: Text editor, Code editor and HTML editor.
This tutorial assumes you’ve already logged in to cPanel’s File Manager.
Text editor and Code editor can be opened within each other’s interface.

  1. HTML Editor has its own interface. Let’s edit a file. Select “testfile.html” by single clicking it.
  2. Now click the Edit button to open the Text Editor.

    filemgr-cpanel-8-edit-scene02_1

  3. You will see this Encoding Check screen every time you edit a file. Either disable it or just click Edit. In this case, we’ll click Edit.

    filemgr-cpanel-8-edit-scene04_1

    The editor will be opened in a new tab. As you can see, we don’t have any text in this file, so let’s write some.

  4. Now click on Save Changes to save the text.

    filemgr-cpanel-8-edit-scene05_1

  5. You have successfully saved the file. Now let’s check the “Code editor”. Click on “Use Code Editor” to access it.

    filemgr-cpanel-8-edit-scene06_1

    This menu has a WYSIWYG editor, which will allow you to edit text easily without knowing any HTML code. Just select the text and choose your options. That’s it!

  6. Now let’s check the HTML Editor. Just click Close to go back to the File Manager.
  7. Keep “testfile.html” selected and click on HTML Editor.

    filemgr-cpanel-8-edit-scene09_1

  8. Click Edit to continue.

    filemgr-cpanel-8-edit-scene10_1

    Note that this editor has more WYSIWYG options.

    filemgr-cpanel-8-edit-scene11_1

    Again, this editor will be opened in a new tab.
    You will also be able to view code in Design mode, Source mode and Preview mode.

  9. To close this editor, just close this tab and go back to the File Manager.

 

How To Change File Permissions with File Manager

 
This tutorial assumes you’ve already logged in to cPanel’s File Manager

  1. To change the permissions of a file, select it first. Single click on “testfile.html”.

    filemgr-cpanel-9-permissions-scene2_1

  2. Click on Change Permissions.

    filemgr-cpanel-9-permissions-scene3_1

    You will see a popup window with some checkboxes. Let’s understand this window first.
    There are three type of owners of the file.

    • User – means you.
    • Group – the users from your website, who have access to these files.
    • World – end users who access your site via a web browser.

    These are read, write and execute options. Each row give access to read, write and execute files.
    In this case, User will have access to read and write this file.
    Group will have only read access.
    And World will have Read access only.
    Please note that unless any particular script needs special permissions, a file should always have 644 permissions, and a Folder should always have 755 permissions.

  3. To set 755 permissions, just check the boxes appropriately.

    filemgr-cpanel-9-permissions-scene6_1

  4. Now click on Change Permissions to apply these changes.

    filemgr-cpanel-9-permissions-scene7_1

 

How To Zip and Unzip Files in File Manager

 
This tutorial assumes you’ve already logged in to cPanel’s File Manager.
Let’s first learn how to zip the files.

  1. Select the files you want to compress by clicking on each file icon while holding the control key.
  2. Click on “testfile.html”, “newtest.html” and “Chrysanthemum.jpg” one by one.
    You have selected all of the files you want to compress. If you want to select all files and sub folders in this folder, simply click Select all. Now click Compress.

    filemgr-cpanel-10-zip-scene05_1

  3. You will get a popup asking for a compression type. Let’s choose Zip Archive.

    filemgr-cpanel-10-zip-scene06_1

  4. Click on Compress File(s) to continue.

    filemgr-cpanel-10-zip-scene07_1

    As soon as it has completed, you will get a progress window like this one. Click Close to continue.
    Your files have been successfully compressed!

    filemgr-cpanel-10-zip-scene08_1

  5. Now let’s learn how to extract a compressed file. Select the “Chrysanthemum.jpg.zip” file we just compressed.

    filemgr-cpanel-10-zip-scene09_1

  6. Click on Extract.

    filemgr-cpanel-10-zip-scene10_1

  7. It will ask you where to extract the zip file. Just choose your destination and click Extract File(s).

    filemgr-cpanel-10-zip-scene11_1

  8. Again, it will show your progress in a popup. Just click close to continue.

    filemgr-cpanel-10-zip-scene12_1

    Congratulations! You have successfully extracted the files.

    filemgr-cpanel-10-zip-scene13_1

 

How To Rename Files in File Manager

 
This tutorial assumes you’ve already logged in to cPanel’s File Manager.
You can rename files and folders the same way. There are actually two ways to do this.

  1. Let’s try it. Double click on “newtest.html”.Make sure you click on the file name only and not on an icon or anywhere else.

    filemgr-cpanel-6-rename-scene2_1

  2. One way is to double click on a “File Name” and simply type a new name.

    filemgr-cpanel-6-rename-scene3_1

    Now type a new name. In this case, we will just add “my”, so the name will be”mynewtest.html”. Press enter after you’re done.

  3. Now let’s try another method. Single click on “mynewtest.html”and then click on Rename.

    filemgr-cpanel-6-rename-scene5_1

  4. Type your new name here. In this case, we will just remove “my” from the name.

    filemgr-cpanel-6-rename-scene6_1

  5. Now click Rename File to apply the changes.

    filemgr-cpanel-6-rename-scene7_1

    You have successfully renamed the file.You can rename folders the same way.

 

How To Verify That Your Server Meets PayPal SSL Requirements

As part of an industry-wide effort to adopt strict security standards, PayPal is upgrading the SSL certificates it uses to secure its sites and API endpoints. By June 17, 2016, SSL certificates will need to be signed using the SHA-256 algorithm and VeriSign’s 2048-bit G5 Root Certificate.

At that time, PayPal’s service will discontinue the use of SSL connections that rely on the VeriSign G2 Root Certificate.

You can easily determine whether your server supports this new standard by logging into your server via SSH and running a single command:

openssl s_client -connect api-3t.sandbox.paypal.com:443 -showcerts | egrep -wi "G5|return"

If your server complies with the requirements, you will see a result similar to the following:

i:/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 2006 VeriSign, Inc. – For authorized use only/CN=VeriSign Class 3 Public Primary Certification Authority – G5
Verify return code: 0 (ok)

In that output, you will want to note the presence of two specific items:

  • A Certification Authority containing “G5”. Note that you may see several CA lines in your output; as long as G5 is included, your server is compliant.
  • A Verify return code of “0 (ok)”.

If both are present, your server is compliant and no further action needs to be taken.

If neither is present, then your server will need to have the G5 certificate bundle installed. All Managed customers may feel free to contact Heroic Support® to have it installed.

NOTE: CentOS 5 (and earlier) is not capable of supporting the new standard. If your server runs CentOS 5 (or earlier), it will need to be upgraded. A member of Heroic Support® will be able to assist.

 

How To Order or Renew an SSL Certificate in Manage

Pre-Flight Check

  • This article assumes that you wish to order an SSL certificate through your Manage customer dashboard, or renew a certificate which you previously ordered through Manage.
  • For new certificates (non-renewals), you will first need to obtain a Certificate Signing Request (CSR). If you prefer, you can easily generate a CSR through cPanel or Plesk.

Ordering an SSL Certificate in Manage

Log into your Manage dashboard at https://manage.liquidweb.com and click on the Create button at the top left, then select SSL Certificate from the list of options.

Order an SSL from Your Manage Dashboard

You then can paste your CSR into the Manual field on the Order an SSL Certificate screen, select the length of time for which you’d like the certificate to be valid and finally click the Purchase SSL Certificate button to order the certificate and have it charged to your card on file.

Adding a CSR in Manage

Should automatic verification fail, you will need to verify the certificate manually.

There are three ways to do this:

  • DNS Record: This method requires you to add a text record (TXT) to the authoritative DNS zone file for the domain. If the site is using Liquid Web nameservers you can do this in Manage by clicking on Domains in the left menu and then selecting the DNS tab.
  • HTML Meta Tag: Requires you to add a meta tag into the head section of the index page on your web site.
  • E-Mail: An automated email will be sent to an authoritative address for the domain containing a link which you can click on to verify the certificate. Please note that the email verification option does not allow you to specify a custom address to which the verification email will be sent, you must choose from among a list of addresses considered to be authoritative, such as webmaster@, admin@, administrator@, etc.

To use one of the manual verification methods, you will need to obtain the verification data to add to the site’s DNS record or site code, or specify the email address to which the verification link will be sent.

To do that, click on Overview in the left menu of your Manage dashboard, click on SSL Certificates under the Services section and then click the Dashboard button.

Click on your domain name and change the Method under the Verification section to your desired method: DNS Record, HTML Meta Tag or E-Mail.

Changing the verification type will show you the record expected for that method, or allow you to select the email address to which the verification link will be sent. Again, please note that the email verification option does not allow you to specify a custom address to which the verification email will be sent, you must choose from among a list of addresses considered to be authoritative, such as webmaster@, admin@, administrator@, etc.

Once verified, the SSL certificate will need to be installed on your domain. To do so, follow our guides for cPanel or Plesk.

Renewing an SSL Certificate in Manage

To renew an SSL certificate which you previously ordered via Manage, log in and click SSL Certificates under Services near the bottom of the page. Then click the “Dashboard” button:

managessldashboard

A “Renew” button will be located to the far right of the domain name covered by the SSL Certificate.

Manage SSL Renew

As with new a new order, select the length of time for which you’d like the certificate to be valid and complete the order.

Once the SSL has been renewed, it will need to be installed on your domain. To do so, follow our guides for cPanel or Plesk.
 

Understanding cPanel Security Advisor Notices

In an effort to increase security, cPanel has modified the default notification settings for certain items that the control panel monitors. Due to the change in notification settings, cPanel users may receive notifications that they previously had not encountered. In particular, a number of changes were made to the notification options for Security Advisor beginning with the release of WHM 56.

‘New security advisor notifications with high importance’

All notifications and included recommendations should be duly noted, but it is important to understand that Security Advisor notifications come from cPanel, not Liquid Web, and they are based solely upon the limited information that their software is able to access. By design, certain software and security measures run outside of cPanel, leading Security Advisor to occasionally detect false positives or otherwise flag items which may not be applicable to your server.

This article, which will be updated periodically, is meant to serve as a point of reference for such notifications.

MySQL Listening on All Interfaces

Security Advisor Notice: The MySQL service is currently configured to listen on all interfaces: (bind-address=*) Configure bind-address=127.0.0.1 in /etc/my.cnf
This most often is a false positive. Liquid Web servers include an advanced firewall that drops traffic to all ports which have not specifically been allowed, but Security Advisor’s check is unable to take this into account. Moreover, Liquid Web’s 24/7 Sonar Monitoring™ needs to be able to connect to MySQL to monitor the service’s status. Sonar Monitoring™ uses a port which is not publicly accessible, but Security Advisor does not take that into account.

SSH Password Authentication is Enabled

Security Advisor Notice: Disable SSH password authentication in the “SSH Password Authorization Tweak” area
This message indicates only that you can log into your server with a password. For maximum security, SSH keys are typically recommended, but as long as you’re using strong passwords, you may prefer to continue the practice. In any case, you will not want to disable SSH password authentication until you have set up and tested SSH keys to connect to your server.

SSH direct root logins are permitted

Manually edit /etc/ssh/sshd_config and change PermitRootLogin to “no”, then restart SSH in the “Restart SSH” area
This message indicates only that the root user can log into your server with the proper password or SSH key. For maximum security, you ideally would want to disable the root user login and add another user for that purpose.

If you need further guidance, feel free to contact Heroic Support®.