MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length



SMF - Just Installed!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - kunal.m

Pages: [1]
How To's / How to configure SpamAssassin in cPanel
« on: June 15, 2016, 03:04:11 PM »
Hi All,

SpamAssassin tool is provided by default with all our shared and reseller hosting plans.

1. How to enable SpamAssassin
2. Filters
3. Spam Box
4. Apache SpamAssassin Configuration

1. How to enable SpamAssassin

To enable SpamAssassin, follow the below steps:
  • Log in to your cPanel and under the Mail section.
  • Click on Apache SpamAssassin™ menu
2. Filters
Spam Auto-Delete option automatically removes the emails which meet or exceed the spam score set. In order to set it, navigate to Apache SpamAssassin menu and find Filters
  • You can set the required score in a drop-down menu (from 1 to 10).
  • To enable the filter, simply click on Auto-Delete Spam button. To disable the filter, click on Disable Auto-Delete Spam
3. Spam Box

Enable Spam Box button makes Exim create a spam folder – a separate folder in your mailbox, which will collect incoming emails marked as spam.
  • Clink on Enable Spam Box
It is possible to delete the messages collected by Spam Box within one click on Clear Spam Box button.
  • Click on Clear Spam Box button

4. Apache SpamAssassin Configuration

You may also configure the different settings for Apache SpamAssassin™. Click on Configure Apache SpamAssassin™.

You will be redirected to a menu where several options are available. Find required_score
0 - means that every incoming mail will be marked as spam.
5 - default score, works well for typical users.

NOTE: the lower your score is, the more restrictive filter will be.
Once done. Click on Save button.


Some mails may be incorrectly detected as non-spam by Apache SpamAssassin. If these email messages often come from the specific email senders, you can blacklist them. SpamAssassin will then tag those ones as spam.

To blacklist certain sender, just enter it into the one of blacklist_from field.

If SpamAssassin often blocks certain email senders and marks its mails as spam (incorrectly), it is possible to add the sender to whitelist.

To whitelist specific sender, just enter it into one of whitelist_from fields

How To's / How to install Attracta SEO Tool on cPanel Server.
« on: June 14, 2016, 02:52:24 PM »
Hi All,

Below are the steps to install Attracta SEO Tool on cPanel Server.

You must have “root” access to your server to install the plugin.

1. Log in to your cPanel server via SSH and run the following commands as root. This will download the latest version of the Attracta plugin and start the installation.

wget -N
sh cpanel-install

After installation run below command.
echo "Parter ID" | /usr/local/cpanel/3rdparty/attracta/scripts/
Like: echo "1315259" | /usr/local/cpanel/3rdparty/attracta/scripts/

The cPanel plugin has now been installed, if you log into a cPanel, you’ll see the new “Attracta SEO Tools” section in the cPanel control panel.

That's All....!!! :)

How To's / How to Check Service Status and Server Information in WHM
« on: June 14, 2016, 01:58:54 PM »
Hi All,

This post is showing you how to check the server status of various services and find other information about the server in WHM.
  • View the Services Currently Running on the Server
     1. Login to WHM.
     2. Click on the Server Status.

Note: The Service Status Screen shows the current status of most of the major services configured to run on the server.  Services that are running normally will be marked with a green dot.

 Some services that you may see:
    exim - handles sending and receiving emails.
    pop - handles POP3 connections for checking email.
    imap - handles IMAP connections, also for checking email.
    httpd - handles webpage requests.
    ftpd - handles uploading and downloading files

  • Viewing Information about the Server
1. Login to WHM.
2. Click on the Server Information.
The Server Information page gives us information about the specific hardware configuration of the server.

For example, you can see the processor installed on the server.  Dual core processors will display as two separate but identical processors.  Quad core processors will display as four separate but identical processors. 

You can also see how much RAM is installed on the server.

This page also shows more in depth information about how the hard drive is partitioned and how much disk space on each of those partitions is currently being used.

That's All....!!! :)

How To's / How to import MySQL database
« on: June 13, 2016, 03:43:39 PM »
Hi All,

There are multiple ways by which you can import the contents of a MySQL database. Below are the two method you can import MYSQL database.
  • Importing Databases via phpMyAdmin
  • Importing Databases via Command Line (SSH)
1. Importing Databases via phpMyAdmin

    Go to phpMyAdmin
    Click the new database name in the top left (optional)
    Click Import in the main area of phpMyAdmin
    Browse for the .sql file on your computer and click Go

1. Importing Databases via Command Line (SSH)

If you are not aware how to connect ssh. Please check the below for information on how to get connect ssh:

How To Connect Server Via SSH

To import your database after you have logged in to your account with SSH

1. Upload your database to your home directory.
2. If the database does not exist, please create a database, a user, and give the user full privileges to the database.
     Note the username and password.

If you are not aware how to create database. Please check the below for information on how to create database:

How to create a database form cPanel.

3. Log into your server via SSH.
4. Use the ls -l command to verify that the file is in your current directory.
5. If the file is not present, upload/move the file to the correct directory, or navigate to the directory where the file is located.
6. Enter the following command, replacing 'user_name', 'database_name, and 'file.sql' with the correct values for your database and file:
mysql -p -u user_name database_name < file.sql

7. You will be prompted for your database user password, and then your database will be imported.

That's All....!!! :)

How To's / How To Connect Server Via SSH
« on: June 13, 2016, 12:46:51 PM »
Hi All,

Below are the steps how to connect to a server via SSH with various operating systems.

Windows OS

1. Download WinSCP or PuTTY.
2. Enter your IP address and the appropriate port number.
3. Click on Open.
4. Log in with your cPanel username and password
Note: Dedicated and VPS customers have the option of logging in with the root WHM username and password.

Linux OS

To connect to the server via SSH, run the following command from a terminal:
ssh  cpanelUser@Ipadress -p 22

Replace cpaneluser with your username; and  replace Ipaddress with your IP address.

Mac OS

To connect to the server via SSH, run the following command from a terminal:
ssh  cpanelUser@Ipadress -p 22

Replace cpaneluser with your username; and  replace Ipaddress with your IP address.

That's All...!!!

How To's / How to create/delete e-mail accounts form command line.
« on: June 07, 2016, 03:22:08 PM »
Hi All,

There is a simple way to create e-mails accounts through the command line, without using the cPanel.

Login into your server via SSH using root user and run below command.

/scripts/addpop --password=yourpassword --quota=1024

To delete email account use below command


That's all...!!! :)

How To's / How to create a database form cPanel.
« on: June 07, 2016, 01:35:57 PM »
Hi All,

It is very simple to create a database form cPanel. Below are the steps.

Step1. Login to your cPanel & access MySQL Databases option.

Step 2. Enter the database name under Create a New Database & click on Create Database.

Note: Once you create a database you will need to add a user & assign it to the mysql database.

Step 3. Enter the database username under Add New User option. Set a password to it & Click on Create User.
Now, you will have to assign that user to the database.

Step 4.Select the database & user from the drop down under Add User To Database. Click on Add. Assign the all privileges.

Step 5.Click on Make Changes & you are done.

That's All....!!!! :)

How To's / How to add an Addon domain from cPanel.
« on: June 06, 2016, 04:41:27 PM »
Now, let’s learn how to create an addon Domain. Below are the steps.

Step 1.  Login into your cPanel Control panel and select "Addon Domain" under the "Domains" section.

Step 2.  Next, you will need to fill out the details of the add-on domain.

New Domain Name: Enter the new addon domain name in the New Domain Name text box.

Subdomain:             When adding a new domain to your account, cPanel automatically configure.

Document Root:       The document root is the directory where the files for this website will be located.

Pasword:                   Enter the new password in the appropriate text boxes.

Password (Again):    Enter the above password again to ensure you are typing it correctly.

Step 3. Once you are finished filling in the details, select the "Add Domain" button.

That's All...!!!! :)

Hi All,

We can deny SSH access to all other IP address except from our IPs.  In order to allow our IP address and deny all other ips. Follow the below steps.

Login into your WHM >> Security Center >> Host Access Control.

Here we can add in some rules to control who can access sshd.

Daemon             Access List                      Action                 Comments
sshd                       allow                   working ISPs
sshd                   ALL                                deny                   Deny all other ips

Only the IP can access SSH

That's it ..!! :)

How To's / How to Configure Read Receipt for a Message in Outlook
« on: May 25, 2016, 12:55:03 PM »
Hi All,

It's pretty easy to Configure Read Receipt for a Message in Outlook. Below are the steps.

On the Tools menu, click Options.

Under E-mail, click E-mail Options.

Under Message handling, click Tracking Options.

Select the Read receipt or the Delivery receipt check box.

That's easy ! ;)

Hi All,

One of our clients facing the issue with uploading the wordpress theme.

Query Error: The package could not be installed. The theme is missing the style.css stylesheet.

Theme install failed.

One of the reasons you may receive this error is if you have uploaded the incorrect file. You have 2 options for downloading your theme

1) Installable WordPress file only.
2) All files and documentation (full zip folder). You will need to extract and locate the installable WordPress file.

Note: Please make sure you are uploading only the installable theme which is called Name Of If you upload ALL these files you will receive an error.

  • Upload the Installable WordPress file admin area

        Log in to your WordPress admin area.
        Browse to Appearance > Themes.
        Click on ‘Add New’.
        Click ‘Upload’.
        Browse and select the theme zip file to ‘Upload’.

  • Upload Via FTP

        WordPress files can also be uploaded manually via FTP.
        Upload the files to /wp-content/themes/ folder on your server.
        Login to your WordPress admin area to change the theme.

Pages: [1]