Monthly Archives: May 2015

How to terminate existing account from cpanel?

If you dont want to continue hosting a website or want to close it down from web host manager so terminate the account from cpanel.

Please read this how to terminate account from cpanel:
Step 1 : First of all login into whm with root user.

Step 2 : Search the account function, once you got click on it.

Step 3 : Now see there is “Terminate an Account” option just click on it.

Step 4 : Once you clicked, you will see multiple domain into it and you have to select one of them which you want to terminate.

Step 5 : Select one domain and click on terminate button.

Step 6 : you will see confirmation message.

Step 7 : Now account has been deleted.

How to change hostname in cpanel?

Hostname changing in cpanel is very easy but it will make licence error
so it eed to updated so your cpanel license will work properly.

Please follow the steps to change the hostname:

Step 1: First of all login into WHM(Web Host Manager).

Step 2: After that go to “Networking setup”.
Networking setup

Step 3: Once you got Networking setup then just click on “Host Name”

Step 4: Type the new host name as you want and click to change.

Step 5: Now your hostname has been changed.

How to add subdomain in cpanel?

A subdivision of a domain is known as subdomain.some people it known as “Canonical name” . there is domain divided into the level like we have
so here “.com” is top level domain, “jdunia” is second level domain and “www” is third level domain.

Dmain And subdomain


Now, how to add subdomain in cpanel?

Please follow the steps to add subdomain in cpanel:

Step 1: Login into the cpanel.


Step 2: Go to the domain section and click on subdomain.


Step 3: First of all select the domain by drop down list on which you have to add subdomain. after that create subdomain and it will create home folder of that subdomain automatically.

Step 4: Click on create button you will see “has been created”.


How to install squid server in linux?


Proxy server work between a local network and internet.It handle the request of client for web services.
Squid is provide high performance HTTP and FTP caching proxy server.From squid server you can control the access of network from internet. It also store data from frequently used web pages and files.



Step 1: First of all check squid server installed on not.

If not installed then please install it  using this command: yum install squid -y

Step 2: Check the ip address is proper or not because IP address will need to edit at the time of configuration.

Step 3: The main file of the squid is /etc/squid/squid.conf .so it need to edit before it activate.
he file contain 4000 lines but only few are active. once it edit with vi and show hidden line with set nu command.

Step 4: First edit line number 2835.

Step 5: Go to line number 2844 and add the hostname.

Step 6: Go to line number 73 and change the port number if you want, By default squid work on 3128.

Step 7: After that create Access control list. go line 2226.

Step 8:
Now we are going to create three access list.
First of all block host with ip address from accessing internet.
after that block a particular site.
Third allow our lab network for accessing internet.
Go to line number 2410 and create access list.

Step 9: go to line number 2482 and edit it and implement there access list whatever you want.

Step 10: go to line number 2529 and apply the configured access list.
ow save it and go to command prompt.

I have created access list web_deny to filter the web traffic. i have set http_access deny web_deny tag in squid.conf
Now you can add url which one you want to block.

Step 11: Now create /etc/squid/web_deny file.

you can add any site which you want to block.

Step 12: Now start the squid service.

Now Client configuration:
Please Set proxy ip to default gateway and dns server ip on client system.


Now open the web browser >go to setting>go to change proxy> proxy server and change it
proxy set

Now try to open


How Choose the Best Web Hosting Service for Your New Blog or website

What kind of business that is, there’s one constant.You’re going to need a domain and you’re going to need hosting.If you’re just getting started, this can be a scary, daunting process. All of the services look the same, you have no idea what you should be looking for, and you don’t know the difference between dedicated and shared hosting – let alone which company is best.Never fear, this post is the only one you’ll need to make sure you get setup with the right services, as quickly and easily as possible.The One Thing More Important than Hosting.The difference between shared, VPS and dedicated hosting.What the pros and cons are of each of the most popular hosting companies.What features you should be looking for from any hosting company you choose.How and where to buy your first domain.If you’re building a business online there are very few upfront expenses that you have to make – at least for the type of businesses we’re advocating on this site.That said, there’s one area where it’s worth spending a little bit of money hosting.Your hosting is the foundation for your entire business. If your hosting goes down, your entire business goes down. If it’s too slow, people will look elsewhere. If it doesn’t have the features you want, you’ll get stressed and frustrated.Because of all of these reasons, it’s generally worth spending a little bit of time really figuring out what’s right for you.If you truly have a very limited budget, then the shared hosting solutions we talk about in this post will be fine – after all, thats what I had for years.But read on, and really think about where you’re at and what’s right for you.With that let’s jump right into the most important question that’s probably on your mind, what is the best hosting for your blog.So it’s clear hosting is a really important component to your online. That said, there’s one thing that I dare say is more important.If you’re just getting started online, this is the most important word for you to understand.WordPress is a blog/content management platform that makes it incredibly easy to build and manage a good looking website.There’s a huge support community, plugins that can do anything you want, and thousands of beautiful themes and templates.When I first started online I built a site on Drupal, and then Joomla thinking they were the best platforms.I was an idiot.Start whatever you’re doing on WordPress and you’ll be glad you did. Most hosting companies have one click WordPress install, so it’s even easier to get going.

What is ESXi and How to install VMware ESXi ?


ESXi is not a software application that one installs in an operating system; instead,
it includes and integrates vital OS components, such as a kernel.VMware renamed ESX to ESXi.
Administrators can configure VMware ESXi by using VMware Vsphere client and check vmware hardware supported on which to install ESXi.
VMware Esxi is based on hypervisor architecture that run on top of the hardware.


Step 1:
Download ESXi server and make one CD iso with its all updates
Step 2:
Insert the cd into CD drive and reboot the server, it will display the menu option like this:

lick on ESXi installer

Step 3:
After loading it will show server configuration information like below:


Step 4:
Once the loading completed it will show Welcome screen like below enter to install it.


Step 5:
Read and accept licence to proceed installation.

esxi licence

Step 6: Select a disk to install the VMware ESxi

After licence installation it will display available disk group into the the empty disk to install the ESXi into it.



Step 7: Confirm ESXi installation.



Step 8:  After that it will progress bar.



Step 9: Installation Complete.



Step 10: Restart the system.

What is SPF record and how to set it on cpanel?

SPF(Sender Policy Framework):

SPF is known as sender policy framework.It has very important role in mail service. It set to avoid the email going to spam folder.
If our domain does not have a SPF record, the recipients cant determine whether this mail send from an authorized mail.
To avoid this add an SPF record for our domain. Using this we can also prevent spam mails which is coming from other sites with ‘our domain’ From address.
Example: If our domain uses ymail for sending mail then SPF record must to has set SPF which identify the ymail server. Doing this will avoid the mail to go into spam folder.

How to configure the SPF record on Cpanel?

please follow step how configure SPF record on cpanel:

Step 1: Login into WHM with root user



Step 2: Go to side menu and select the edit zone.


Step 3: Select domain name from Drop down list.

Step 4: Edit the spf(TXT) file to

For example:  v=spf1 +a +mx +ip4:204.197.X.X ~all”


Mean of this rule:

+ stands for accept mail or allowed to send.
a – means A record of domains
+mx +ip4:204.197.X.X – allow mails from this domain. – allow mails from ymail server
~all – accept all mails and mark as spam mail which is not sent from the authorized mail server.


Every website requires hosting in order to be live on the Internet

Every website requires hosting in order to be live on the Internet.Designers and bloggers are well aware of its importance they use it to establish their brand and business.It is also helpful to stay connected with existing and potential audience. Choosing really good web hosting services can be as important as the information available on your website. If the server of your web host goes down any time, it can hurt your business or even destroy your hard work. It is very important for designers to choose a website hosting that makes their work uninterrupted.Sunpeaks Hosting is very famous among small and large sized businesses. Whether it is website hosting or blog, they can do anything for you. Sunpeaks hosting is very famous due to its award winning technical support and an uptime of 99.9%.We provide with a guaranteed 99.9% uptime in all the web hosting plans, it gives you the best hosting experience.Shared hosting best for those designers and bloggers who are not expecting millions of hits monthly .VPS hosting and Dedicated hosting best for business purposes that need more server resources. You can get all the help that you want with trained technical experts ready to help you 24/7.Reseller hosting best for people who are in web hosting for business purpose. You can purchase the reseller hosting and use the allocated disk space and bandwidth to host your client’s websites.If you are looking for a place to quickly host your websites but don’t have access to any web server, Google Drive is a great alternative. You can use Google Drive to host basic websites or even complex JavaScript based web apps. You may upload and publish any kind of static content on your website including HTML pages, images, CSS, icons, audio & video files including podcasts.If you are using the old Google Drive, you can easily host websites on Drive. First upload your website files to a folder inside Google Drive, set the sharing permissions of that folder as public, open the index.html file in the Google Docs viewer and then click the Preview link to get the URL of your website.However if you have migrated to the new Google Drive, you’ll be disappointed to learn that Google has dropped the web hosting feature. You can still create public folders inside Drive but the option to publish that folder as a website is gone.No worries as there’s still an easy workaround that will let you publish your websites on to Google Drive in a single step.Windows Server Gateway (WSG) is multi-tenant gateway but the forwarding gateway functionality is not which can only support one virutal network. That means if you want to enable direct routing for multiple virtual networks, you have to have equal number of dedicated Gateway. That is not cost effective for service provider.

What is cron and How to set Cron in linux or unix?


Cron job are used to schedule commands to be executed periodically. You can setup commands or scripts, which will repeatedly run at a set time. Cron is one of the most useful tool in Linux or UNIX like operating systems. The cron service (daemon) runs in the background and constantly checks the /etc/crontab file, and /etc/cron.*/ directories. It also checks the /var/spool/cron/ directory.

Types of cron configuration files

There are different types of configuration files:

The UNIX / Linux system crontab : Usually, used by system services and critical jobs that requires root like privileges. The sixth field (see below for field description) is the name of a user for the command to run as. This gives the system crontab the ability to run commands as any user.
The user crontabs: User can install their own cron jobs using the crontab command. The sixth field is the command to run, and all commands run as the user who created the crontab
How Do I install or create or edit my own cron jobs?

To edit your crontab file, type the following command at the UNIX / Linux shell prompt:
$ crontab -e

Syntax of crontab (field description)

The syntax is:
1 2 3 4 5 /path/to/command arg1 arg2


1: Minute (0-59)
2: Hours (0-23)
3: Day (0-31)
4: Month (0-12 [12 == December])
5: Day of the week(0-7 [7 or 0 == sunday])
/path/to/command – Script or command name to schedule
How do I use operators?
An operator allows you to specifying multiple values in a field. There are three operators:

The asterisk (*) : This operator specifies all possible values for a field. For example, an asterisk in the hour time field would be equivalent to every hour or an asterisk in the month field would be equivalent to every month.
The comma (,) : This operator specifies a list of values, for example: “1,5,10,15,20, 25″.
The dash (-) : This operator specifies a range of values, for example: “5-15″ days , which is equivalent to typing “5,6,7,8,9,….,13,14,15″ using the comma operator.
The separator (/) : This operator specifies a step value, for example: “0-23/” can be used in the hours field to specify command execution every other hour. Steps are also permitted after an asterisk, so if you want to say every two hours, just use */2.
Task: List all your cron jobs
Type the following command:
# crontab -l
# crontab -u username -l
To remove or erase all crontab jobs use the following command:
# Delete the current cron jobs #
crontab -r

## Delete job for specific user. Must be run as root user ##
crontab -r -u username