Monthly Archives: March 2017

How to check if a domain is on the server

You have a lot of domains and you want to quickly check if a domain exists on the server. Just run the shell command: grep yourdomain /etc/userdomains

root@web [~]# grep demo.plothost.com /etc/userdomains
demo.plothost.com: plothost
root@web [~]#

In this case, the domain “demo.plothost.com” exists and it belongs to user “plothost”.

You may also want to know if the domain resolves to your server/IP. Use:

root@web [~]# dig demo.plothost.com

; <<>> DiG 9.9.0-RedHat-9.9.0-38.el7_3.2 <<>> demo.plothost.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30116
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;demo.plothost.com.             IN      A

;; ANSWER SECTION:
demo.plothost.com.      5388    IN      A       162.255.100.100

;; Query time: 26 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Mon Mar 20 04:11:52 PDT 2017
;; MSG SIZE  rcvd: 62

root@web [~]#

If the domain has an cPanel account you can search for it in WHM -> Account Information -> List Accounts.

WHM Search Account
WHM Search Account

On all our reseller plans you can host an unlimited number of domains. Check the offer here.

Share this post:

How to create an FTP account in cPanel

Necessary steps to create a new FTP account in cPanel:

  1. Log into your cPanel account.
  2. Go to FTP Accounts under Files category.
  3. At the top of the page you will see the Add FTP Account section. Enter the desired Log In username and the Password.
  4. Here you also must choose the root directory of the new FTP user and the account’s Quota.
  5. Click the Create FTP Account button. The new account will be created and you will be able to see it in the FTP Accounts list.
cPanel Add FTP Account
cPanel Add FTP Account

The video tutorial. See how easy is to create a new FTP account. 

Related KB : Use FileZilla to connect via FTP to your web hosting account

cPanel automatically create an FTP account. The FTP username and password are the same as for the cPanel account.
Share this post:

How to change cPanel Style and Language

How to change the cPanel Style

  1. Login into your cPanel account
  2. On the top right side click on your username and then Change Style
  3. Choose the style you want and click the Apply button.
cPanel Change Style
cPanel Change Style

How to change the cPanel Language

  1. Login into your cPanel account
  2. On the top right side click on your username and then Change Language
  3. Select the desired language from the drop-down list and click the Change button.
cPanel Change Langauge
cPanel Change Langauge

The video tutorial on how to change the cPanel style and language (from 01:09):

Share this post:

How to password protect a directory via cPanel

Follow the steps below to protect a directory:

  1. Log into your cPanel account.
  2. Look for Directory Privacy option
  3. Click on the directory you want to protect by username and password.
  4. On the new page that will open, complete the field Enter a name for the protected directory: . You can enter something like: my area, protected area etc.
  5. On the same page choose a Username and New Password. Click the Save button. From now on, you will need to enter the username and password when accessing that directory.
cPanel Directory Privacy

Check our video tutorial below.

Share this post:

How to check your disk usage from cPanel

Did you receive a notification that your account is reaching the disk quota? You just want to check your web hosting account disk usage? This short tutorial will help you. 

The steps to check your account disk usage in cPanel:

  1. Log into your cPanel account.
  2. On the main page click on the Disk Usage icon under Files category.
  3. You will see a page with the list of your account’s directories with their corresponding sizes. On below the page you can see subdirectories sizes, also you can sort the directories by name or size.
cPanel Disk Usage cPanel Disk Usage

We also made a video tutorial. Check it out!

If you have access to Shell/cPanel Jailed Shell you can use the command du -sh. The command will display the disk usage of your account.

plothost@demo.plothost.com [~]# du -sh
36M     .
plothost@demo.plothost.com [~]#

To see the size of an individual directory, use du -sh directory :

plothost@demo.plothost.com [~]# du -sh public_html
27M     public_html
plothost@demo.plothost.com [~]#
Share this post:
Page 2 of 4
1 2 3 4