Archive for Getting Started

Configuring a Subdomain to a Different IP Address

In this tutorial we are going to learn how to configure a subdomain to a different IP address through the WHM control panel. Usually, it is mostly used by the online websites having a shopping cart.

For example: If example.com is you main site hosted on server “ABC” and the shopping cart “shop” is hosted on the server “XYZ”, and if you wish to show example.com is also hosted on the dedicated server “XYZ”, you will need to setup a subdomain pointing to a separate IP address.

Requirements for Setting up a Subdomain to a Different IP Address:

  • Cpanel Control Panel Access
  • WHM Access
  • Different IP Address or Hostname

Step 1: Log in to your WHM control panel. In the left pane, under the DNS Fuctions, click on the Edit DNS Zone option as shown in the image below.

DNS Functions

Step 2: Now, scroll the page and come to the section “Add New Entries Below this Line”. Here we are going to “Add the A Record”. In order to create a new A record, type “shop” in the first box under the “Add New Entries Below this Line”. From the dropdown menu select “A” as record type. Once you select the A record it will show another box infront of the drop down menu. Enter the IP Address or hostname to in order to mask/point it. (See image below)

Configuring a Subdomain to a Different IP Address

Step 3: Make sure that subdomain with similar name doesn’t exists in the users account or the mask will not work as it should.

Like this post ?

Share on your Social Networking Profile ( Facebook, Twitter & Google+ ) and get a flat 10% Recurring discount on our VPS Hosting and Dedicated Servers.

Email us the shared link at : sales@eukhost.com or speak to our live chat operator now, by clicking on the “Live Chat” Scroller on the left-hand side of this page and we will provide you with the discount Coupon right away!

Creating a Policy (Backup) in R1Soft’s CDP 3.0 Enterprise Edition

In the CDP 3.0 version, the Backup Scheduler is known as “Policy”. The policy feature allows you to schedule policy in two different ways. You can either schedule recurring policies or create one-time policy. In order to schedule a policy (backup) in CDP 3.0 follow the instruction given below:

There are three important things (Agent, Volume and Disk Safe) which must be already created before you proceed with the steps below. If you don’t know how to create them, check out the following CDP 3.0 tutorials:

How to Create an Agent in CDP 3.0 Enterprise Edition ?
How to Create a Volume in CDP 3.0 Enterprise Edition ?
How to Create a Disk Safe in CDP 3.0 Enterprise Edition ?

Let’s proceed. We assume that you have already logged in to the CDP 3.0 server.

Step 1: Click on the “Policy” option listed in the Dashboard menu. (see image below)

Step 2: Next, click on the “Create New Policy” located in the top left pane. (see image below)

Step 3: When you click on “Create New Policy” a new popup window will appear. (see image below)

Step 4: Here you will need to define the following settings:

Identification:

Enabled – Select the checkbox to enable the policy
Name – Enter a name to keep a track
Description – Enter a description to keep a track

Disk Safe:

Agent – Select an agent added for the client’s server
Disk Safe – Select a disk safe created for client’s server

Frequency:

Frequency Type – Specify the schedule and recurrence for the policy (On Demand, Hourly, Daily, Weekly, Monthly or Yearly).

Step 5: Now, click on the “Create” button in the bottom of the window in order to create the policy.

Step 6: You will see a notification window appearing on your screen showing a message “Successfully created policy”.

Step 7: Hit the “OK” button to add the policy in the policies list.

That’s it!

Offsite backup hosting plans are ideal and applicable only on Windows VPS Hosting, Linux/Windows Cloud Hosting and Dedicated Server Hosting solutions.

Creating Volumes in R1Soft’s CDP 3.0 Enterprise Edition

In this tutorial, we are going to see how to create volumes in R1Soft’s CDP3 Enterprise Edition.

We assume that you have connected to the CDP 3.0 server and logged in.

Step 1: In the Dashboard menu, click on “Volumes”. (see image below)

Step 2: Now, click on “Create New Volume” in the Volumes menu located at top left pane. (see image below)

Step 3: Once you click on “Create New Volume” a popup window will open: (see image below)

Step 4: Enter the following settings:

Identification options:

Name – Enter a name for the volume to identity it while assigning a volume to a disk safe.
Description – Enter a description for the volume.
Volume Path – Enter a new or existing folder path to place the assigned disk safes in this folder.

Quotas:

Quota Type – Select “On Disk Size”
Soft Quota - Enter a minus 2 figure of your backup plan size. For example: if a client purchased 20GB backup space, then enter Soft Quota 18GB.
Hard Quota – Backup place size

Groups:

Here you can assign a group(s) to the volume. Select a group from the drop-down menu and hit the “Add” button.

Users:

Here you can assign user(s) to the volume. Select a user from the drop-down menu and hit the “Add” button.

Step 5: Once you are done with the Volume settings, click on the  “Create” button at the bottom of the window to create a new volume to the system.

Step 6: If the folder doesn’t exist, it will come up with a notification window. You will need to confirm your request by clicking on the “OK” button. (see image below)

Step 7: When you click on the “OK” button, after a few moments you will be informed by a notification window, if the Volume is created successfully. (see image below)

Step 8: Hit the “OK” button on the notification window and the Volume will appear in the “Volumes” list.

That’s it!

Creating an Agent in R1Soft’s CDP 3.0 Enterprise Edition

Following are the steps you need to follow to create an agent in your R1Soft’s CDP 3.0 Enterprise Edition.

Step 1: Open your web browser and connect to the CDP 3.0 Enterprise Edition and log in using your login credentials.

Step 2: Click on the “Agents” button shown in the Main Menu located under the ‘Dashboard’ in the left pane of the page.

Step 3: Now, click on “Create New Agent” shown in the Agents menu located in the top left pane.

Step 4: Once you click on “Create New Agent” a new popup window will open allowing you to set the following things:

Description – Enter a description for the agent.
Host Name – Enter a host name or IP address of the agent.
Port Number – Define a port in order to connect
to the agent.

Step 5: For this particular agent, you can set the Group’s special permissions. However, the groups’ permissions can only be changed when:

  • Adding an Agent
  • Editing an Agent
  • Adding a Group
  • Editing a Group

Step 6: Select a group of your choice and define the special permissions for it. When you select a group you will see several boxes in the “Groups”:

  • Full Control – gives you the ability to control everything mentioned below.
  • Editing agent’s settings
  • Browsing agent’s recovery points
  • Manipulating disk safes for agent
  • Editing agent’s users
  • Manipulating policies for agent
  • Viewing agent’s task in the task history console
  • Restoring files from agent’s recovery points

If you want to remove a group from the agent properties window, simply click on the “X” icon shown in the red color.

Step 7: Same way as “Groups”, you can set special permissions for the “Users”.

Step 8: Once you are done with all the settings, click on the “Create” button at bottom of the window.

Step 9: After a moment you will see a notification window showing “Successfully created agent” message. Click on the “OK” button.

Once the Agent is created it will appear in the Agents list and the Operating System (OS) of your dedicated hosting server will be detected automatically.

That’s it!

Leech Protection – Enable/ Configure/ Disable Leech Protect in cPanel

What is Leech Protection ?

The Leech Protect utility available in cPanel enables users with preventing users from disclosing the passwords to a restricted area of a website publicly and restricting the number of times a user can log in to the areas. The site administrators get the capability of redirecting the accounts to preferred pages incase of such violations. Hence protecting the breach into the system.

cPanel control panel allows the capability to manage leeching by redirecting or potentially suspending the user. A maximum number of logins can be set according to your preferences, while the default value is set to 2 hours. If incase the limitations tend to exceed, the user is assumed to be offering other users the login details.

Inorder to enable this feature, one must login to your cPanel control panel. You may refer the following links to learn the ways to access cPanel :

How to Enable Leech Protection ?

Step 1 – Look for the Leech Protect icon located in the Security section of cPanel home screen for accessing the Leech Protect Menu

Step 2 – Browse and Click the folder for which you intend assign protection

Step 3 – Assign the number of times you intend to allow a user to login during a window period of 2 hours.

NOTE: A value of 4 can be considered to be ideal, anything below might suspend a genuine user who would probably have carried out attempts to connect due to failure of internet connectivity. Though, if the login attempts are made through the same network or even a subnet, suspension of the accounts doesn’t occur.

Step 4 – You must update the URL of the website where you intend to send the users that are violating the accessibility criterion’s and the set number of login attempts.

NOTE: You may encounter an internal server error message if the updated URL isn’t something other that of the leech protected area.

Step 5 – You also have an option to receive notifications for leeching attempts. Check the box besides “Send Email Alert” and update the email address in the field titled “Send Email Alert to” for receiving instant alerts on possible leeching attempts.

Step 6 – For suspending a particular account, you only need to click box besides the option titles “Disable Compromised Accounts

NOTE: If user is caught in violation for accessing the leech protected areas, the account is suspended and the password disabled. For reactivating a particular account you are required to reset the password for that particular account.

Step 7 – You may now click on Enable for enabling leech protection. After which a Leech Protect Confirmation screen would appear.

How to Disable Leech Protection ?

Disabling Leech Protection is simple process. You only need to click the Disable button after which you’d be see a confirmation statement.

You may reconfirm whether the changes to have been implemented by going back by clicking the link provided on that page. If you don’t notice the leech icon against the directory which you had previously protected that means it has been successfully disabled, else you may attempt the same procedure.

How to Manage the Users in Leech Protected Directories ?

Upon accessing the leech protected directory, you would observe an option titled Manage Users in the form of a button (you must scroll down to the end of the page to view). Then you’d be shown with the Password Protected Directories configuration area for the particular directory. You may wish to check the Password Protect Directories document to know more on the topic.

Choose our Affordable Web Hosting packages with cPanel to get access to Leech Protection.

How to upgrade mysql on cPanel server

In web hosting industry cPanel is the only control panel which supports easy to understand GUI based (Graphical User Interfarce) to mange hosting resources of a website. cPanel hosting supports different  features to mange hosting resources which includes Spam Assasian,  Email forwarding, Awstats,  MySQL to support and manage databases of a website. And it certain time it become s necessary to upgrade from a older version of MySQL. So to upgrade you MySQL version you just have to Login to WHM with root user and access the option Server Configuration then Tweak Settings. Look for MySQL and check the radio button for 5.0 from 4.1 OR login to the server via SSH and open the file /var/cpanel/cpanel.config and find for mysql-version. Change it to 5.0 from 4.1. Save the file and exit. Now execute the commands on the server to upgrade the mysql version.

/scripts/upcp –force

/scripts/mysqlup –force
Wait for mysql to upgrade. Once the process is completed, check the mysql version.

To make changes in cPanel some of newbies as well as online organizations rely on their hosting service provider eUKhost web hosting service provider is leader in tech support services from last decade to deploy quality tech and phone support with different server technologies which includes UK Cloud hosting servers, Windows hosting server and highly configured dedicated servers.

Secure Shell(SSH) Commands for Linux administration.

A shell is nothing but a script which is written for the shell, or command line interpreter, of an operating system. It is also considered as a simple domain-specific programming language which  includes different typical operations performed by shell scripts which include file manipulation, program execution, and printing text. In different terms shell is also named as a term for user interface, Operating systems and applications to provide an alternative shell interface to make interaction with the program easier. In simple terms if the application is usually command driven, the shell might be a menu-driven system that translates the user’s selections into the appropriate commands.

Lets see some basic Shell Commands for Linux administration

passwd : This command will make changes to your SSH account’s password, you just have to follow the options after typing change account password.
nano [option] [file]: This is a File editor, easy-to-use and very friendly.
nano –w /home/aquhome/public_html/index.php : your current editing

index.php with –w being non wrapping of long lines

mkdir [directory_name] : Used to create a directory with specific default permissions .

mkdir aquhome : Creates a directory aquhome in the current directory you are.

df : [attribute]

[b]df -h[b] : It is to show you the disk space available in human readable format (Mbit and Gbit)

cd : change directory
cd ~ : takes to your home directory
cd – : takes to the last directory you viewed
cd ../ : takes you one level up a directory
cd [directory path]
cd /home/aqhome/public_html

ls: This command lists files and directories in a directory.

ls –l : It will show all the files with detailed attributes.

vi : This commnad is used for advanced editor, having tons of features, but harder to use then nano

vi /home/aquhome/public_html/index.php : Editing that index.php file again

ln : Makes sys links between the files and directories

ln –s /usr/local/apache/conf/httpd.conf /etc/httpd.conf : This command will allow you to edit the /etc/httpd.conf instead of the original, changes will apply to the original immediately. You can delete the link without deleting the original.

wall : broadcast message
wall [message]
wall so whens the server being restarted?
top : It will shows endlessly updating system processes in a table.
w : Displays  ip address of the person and who has logged in currently.
ps : Displays the processes that are running.
touch : creates an empty file.
touch [file]
touch index.html : creates an empty index.html
kill : terminates a particular system process
kill -9 [PID] : You can get a PID by using Top.
kill -9 100545
cp : Used to copy a file
cp yourfile yourfile.copy : It will copies yourfile data  to yourfile.copy
cp –a /home/aquhome/public_html/* /home/aquhome/public_ftp/ : It is used to copies all files in public_html to /public_ftp
du : displays disk usage
du –sh : displays a summary of total disk space in the current directory along with the subdirectories in human readable form
netstat : displays all current network connections
netstat -rn : displays routing tables for IP’s.
netstat -an : displays all connections to the server.
chown : command to change the owner of a file
chown [attribute] newowner.newowner filenames
chown -R aquhome.aquhome /home/aquhome/public_html/index.php
chmod : [-r] permissions filenames

Permissions :
u – A User who owns the file.
g – A Group that owns the file.
o – Other.
a – All.
r – Reads the file.
w – Writes or edit the file.
x – Executes or run the particular file as a program.

Numeric Permissions:
CHMOD can also be attributed by using Numeric Permissions:
400 read by owner
040 read by group
004 read by anybody (other)
200 write by owner
020 write by group
002 write by anybody
100 execute by owner
010 execute by group
001 execute by anybody
CHMOD 755 /home/aquhome/public_html/index.php
last : shows last logins to the system
rm : deletes a file
rm filename.txt : deletes filename.txt, will more than likely ask, if you really wish to delete it
rm -f filename.txt : deletes filename.txt, won’t ask for confirmation before deleting.
rm -rf tmp/ : recursively deletes the directory tmp, and all files in it. You need to be very carefull with this command.
grep : Search for patterns in files
grep root /etc/passwd : displays all matches of root in /etc/passwd
grep -v root /etc/passwd : displays all lines that don’t match root
wc : word count
wc -l filename.txt : shows how many lines are in filename.txt
mv : Moves a specific file.
mv -f /home/pen/ram.php /root/  moves  ram.php to the directory root

Basic Extracting Commands:
tar xvfz imagick-0.9.11.tgz : will extracts the .tgz file
bzip2 and bunzip: files with .bz2 extensions
bzip2 filename.txt : zips filename.txt to filename.txt.bz2
bunzip2 filename.txt.bz2 : unzips filename.txt.bz2 to filename.txt

Essential Service Commands:
service httpd restart : Restarts Apache
service mysql restart : Restarts MySQL
service exim restart : Restarts exim
service cpanel restart : Restarts Cpanel

The techsavvy technical team working at eUKhost deploys qulaity tech services with quick response to solve any problem. eUKhost also offers quality hardware and highly configurable Dedicated server UK with disaster recovery plans to host any small or large website with different technologies like VPS servers, Reseller hosting servers and UK Cloud hosting server to host your website with quick setup server guarantee and no downtime.

Changing File Permissions Using cPanel Control Panel

How to change file permissions on a Linux Server ?

Permissions play a vital role in safe guarding your data over the world wide web. You can define the permissions according to your preferences based on the level of access you wish to offer to the users. As a part of security enhancement technique, you may sometimes need to protect the files from writing or editting. In that case the following tutorial may come in handy. The information would help you assign appropriate permissions to the files.

One of the simplest ways to assign permissions is via. cPanel File Manager.

The below steps must be followed for making the changes:

Step 1 – Go to File Manager in cPanel

Step 2 – Select the file to which you intend to assign permissions

Step 3 – Click the ‘Change Permissions’ link

Step 4 – Select the appropriate permissions

Step 5 – Hit the Change Permissions button

You may also refer the following video tutorial about File Manager. It should help you relate to the procedure well.

[kml_flashembed publishmethod="static" fversion="10.0.0" useexpressinstall="true" movie="http://www.eukhost.com/new/support/demo/cpanel/cpanel_x3_filemanager.swf" width="700" height="442" targetclass="flashmovie" quality="best" scale="noborder" wmode="direct" swliveconnect="true" allowfullscreen="true" allownetworking="all"/]

cPanel control panel is offered with all our Linux plans. If you need any assistance with changing the file permissions kindly raise a ticket from the client area stating your requirements in detail. Alternately you may contact our technical support department via. 24×7 Live Chat and seek assistance.

Web Hosting UK

Like this post ?

Share on your Social Networking Profile ( Facebook, Twitter & Google+ ) and get a flat 10% Recurring discount on our VPS Hosting and Dedicated Servers.

Email us the shared link at : sales@eukhost.com or speak to our live chat operator now, by clicking on the “Live Chat” Scroller on the left-hand side of this page and we will provide you with the discount Coupon right away!

Steps To Mount NTFS Partition In RHEL and CentOS version 5 or 6

The primary step for enabling NTFS Support for the CentOS Linux / RHEL edition 5.x and 6.x is to install the EPEL repository onto the server.
Use the below command to install EPEL repository in CentOS or RHEL versions

$ cd /tmp
$ wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
# rpm -ivh epel-release-6-5.noarch.rpm

What is NTFS-3G ?

NTFS-3G allows you to handle NTFS file systems of Windows OS variants with the needed safety. Its an open source POSIX read/write NTFS for your Linux installations.
It offers the capability to create, delete, rename, move files, directories, hard links, and streams. In-addition it also offers the ability to webmasters with read and write normal and transparently compressed files, that includes streams and sparse files. Special files such as the symbolic links, devices and FIFOs, ACL, extended attributes can be easily handled.

What is the process to Install NTFS-3G ?Cloud Computing

You must be logged in as Root for the below command to work :

# yum install ntfs-3g

Checking the Name of an NTFS Partition

Entering the below commands would help you determine the name of an NTFS partition :
# fdisk -l /dev/sda
# fdisk -l /dev/sdb

Steps to Mount /dev/sda1 NTFS Partition at /mnt/ntfs

It is essential to load the fuse driver. The below command should help you do that :
# modprobe fuse

Now using the below command you must build a mount point:
# mkdir /mnt/ntfs

The following command would help you with mounting the ntfs partition :
# mount -t ntfs-3g /dev/sda1 /mnt/ntfs

Command for Unmounting the NTFS Partition

# umount /mnt/ntfs

Cloud Hosting Servers

 


Like this post ?

Share on your Social Networking Profile ( Facebook, Twitter & Google+ ) and get a flat 10% Recurring discount on our VPS Hosting and Dedicated Servers.

Email us the shared link at : sales@eukhost.com or speak to our live chat operator now, by clicking on the “Live Chat” Scroller on the left-hand side of this page and we will provide you with the discount Coupon right away!

Which Configuration Files and Directories are backed up by the WHM Backup Feature ?

When the Backup Configuration Files is Enabled in the WHM, the WHM Backup Feature backs up the following system configuration files and directories:

Configuration Files:

/etc/exim.conf
/etc/exim.conf.local
/etc/exim.conf.localopts
/etc/namedb/named.conf
/etc/rc.conf
/etc/named.conf
/etc/proftpd.conf
/etc/localdomains
/etc/httpd/conf/httpd.conf
/etc/group
/etc/shadow
/etc/master.passwd
/etc/passwd
/etc/fstab
/etc/ips
/etc/ips.remotemail
/etc/ips.remotedns
/etc/reservedips
/etc/reservedipreasons
/etc/quota.conf
/etc/wwwacct.conf
/etc/remotedomains
/etc/rndc.conf
/etc/secondarymx
/etc/my.cnf
/root/.my.cnf
/usr/local/cpanel/3rdparty/interchange/interchange.cfg
/usr/local/apache/conf/httpd.conf

Directories:

/etc/namedb
/etc/valiases
/etc/proftpd
/etc/vdomainaliases
/etc/ssl
/etc/vfilters
/usr/local/frontpage
/usr/share/ssl
/usr/local/cpanel/3rdparty/mailman
/var/lib/rpm
/var/lib/named/chroot/var/named/master
/var/named
/var/cpanel
/var/spool/cron
/var/cron/tabs
/var/spool/fcron
/var/log/bandwidth
/var/ssl
/var/lib/mysql (on RedHat and CentOS)
or
/var/db/mysql (on FreeBSD)

Backing up the system configuration files help a lot, if the system configuration files for your dedicated server gets deleted mistakenly.

« Previous entries Next Page » Next Page »
Content Call us at 0800-862-0380