VPS Hosting blog

VPS hosting updates and technical articles

Archive for the ‘hosting technology’ Category

Ensuring top class performance for Linux VPS Hosting server

without comments

Most website hosting packages have limited resources and a dedicated server can be more than expensive for many people worldwide. These are the main reasons why hosting distributors supply a third type of hosting service namely the VPS server. The performance of the VPS server is highly important and this is the reason why we have considered useful to consider today effective ways in which to ensure top class performance for a VPS server. The VPS server as a web space hosting solution can provide high performance at lower rates becoming the preferred option for web pages that require a lot of system resources for proper functioning this way.

What is a VPS (Virtual Web Hosting Server)?

Several Virtual Web Hosting Servers which are all part of a powerful physical machine usually echo the performance of a normal dedicated type of web hosting server. The main focus in this case is for the client to receive a completely well-functioning type of web hosting server and the way in which this can be done is through numerous software platforms that render the conceivable portioning process for this. In order to consider a web hosting server completely functional it needs to include complete server root access as well as well ensured system resources.

Ensure Top Class Performance for a VPS Server

The VPS technology offers important cost saving options for host companies on one hand and for end users of hosted services on the other hand. The way in which it manages to offer this is by providing the privacy and security of a professional & dedicated server without being required to provide server resources for client use. This is why enhancing the performance of VPS servers is highly advantageous for users and should be considered as a must these days. Let’s see how you can achieve this!

  • Monitor Performance

Tracking the speed and performance of applications that are hosted in the Virtual Web Hosting Servers is very important for the insurance of optimal performance. This is mainly because software conflicts have been proven to be the main causes of slowdowns. What also causes poor performance in this case are the hardware errors that users encounter as well as the lack of space and the bandwidth issues. Dealing with these problems as early as possible leads to less damage and this way enhances the performance of the VPS Server.

  • Enhance the Apache Performance in VPS Servers

When the dynamic module loading components are allowed to run only in the case of active need we can easily notice a lower percentage in the use of server resources and an increase in speed and performance for other important server applications. Furthermore, by installing and maintaining the Apache functions only and eliminating what cannot be considered as useful components the overall VPS performance can be improved.

  • Handling the My SQL Memory Usage

Optimizing the database implementation is really important if you want to ensure faster page load times as well as an improvement in performance for such high resource platforms.  When you also manage to free up important system resources within the MySQL space this will lead to highly improved speed and performance for page loads and numerous other applications.

Consider these important tips and steps to follow for improving your VPS Server performance!

Written by economichosting.net

March 28th, 2014 at 10:54 pm

Overview of VPS container management options

without comments

A VPS has to offer a great advantage to the people who cannot afford to get a hosting on a dedicated server and they can’t use a shared hosting as well. The VPS lays between the both as it is more economical than dedicated servers and can deliver a lot better services than the shared hosting. The virtualization market continues to expand at a faster rate because of the advantages it has to offer to the users. The Virtual Private Server can be purchased from any provider available in the market who deals in web hosting and it can be used for hosting sites instead of using an actual physical storage site.

VPS has provided a great help to the website owners through reducing the costs and offering higher level of features. The VPS market has expanded a lot and the VPS is available under different types. One of the most popular types is the container based virtualization.

Container Based Virtualization

It lets the multiple instances run on the same computer where each one of these are isolated from one another and shares minimal resources. The operating systems of the host machine and the guests have to be the same in this type of virtualization. It creates a securer and isolated environment through starting the kernel of the OS. These days there are numbers of companies that are offering VPS container management options. Three of the major options for the virtualization are as discussed below:

Xen

Xen is one of the most popular and preferred options available for virtualization that allows to execute multiple computer operating systems concurrently on the same hardware. It is considered as the most secured and fastest infrastructure virtualization solution that supports variety of guest OS including Solaris, Linux, Windows etc. Some of the Key Features of Xen are:

  • Full tolerance capabilities
  • Enterprise-grade functionalities
  • Cost cutting and cloud computing
  • Offline accessibility
  • Performance and scalability
  • HD system image support
  • Change on the fly
  • Supports large systems

OpenVZ

The OpenVZ is another popular VPS container management option that can provide a good return to the companies on their investment for web hosting as it lets the hosts to place as many servers as they need without any allocations. It has a completely different architecture from the traditional virtual machines as it runs the same operating system kernel as the host system. Some of the key features of OpenVZ are:

  • OS level virtualization
  • On the fly upgrades
  • Easy and simple disk and network setup
  • Full root access
  • Offers a light weight virtualization, which means the availability of more resources
  • When nodes are underused, Burst RAM and other extra resources will stay available

Virtuozzo

Virtuozzo VPS container management is another reliable and popular OS virtualization solution that can offer a higher degree of isolation and live partitioning. It can offer a convenient help to maximize the investment in server hardware through providing some impressive features that are:

  • Capable enough to deliver profitable cloud services
  • On the fly virtual environment modifications
  • Can provide comprehensive integration capabilities for third party systems
  • Convenient and flexible management options
  • Advanced resource management
  • Operating system centralization
  • Dynamic library sharing
  • Cross CPU workload sharing
  • Live migration
  • Reduced maintenance costs

Written by economichosting.net

February 28th, 2014 at 9:38 pm

Windows VPS and Linux VPS Compared

without comments

It is very important to use the right hosting platform. Since the competition between Linux and Windows follows fierce, a comparison between these two platforms worth reading. In order to narrow down the comparison between the two types of hosting, you can consider fragmenting them into four categories such as price, support, security and performance of the hosting.

Nowadays, VPS hosting is in demand and choosing the right operating system to use is crucial to optimize its performance. After all, it is always comfortable to make use of an OS that you already have knowledge will make sure more safety and ease the operation. Typically, the Linux VPS hosting always ends up in front of the Windows in all aspects.

When it comes to choosing a VPS hosting service, whether it be Linux or Windows,  the computing language and the technologies used in your website will become the biggest deciding factor. When it comes to Linux VPS hosting, the system is developed using Apache Server and has facilities to run scripts in PHP, Perl, CGI and JSP and database support for MySql and PostgreSQL.

One of the advantages of using Linux VPS hosting is that that offer all the required tools that are needed to put your website online. Most of these tools are easier to manage. On the other hand webmaster who require specific requirements such as run MS applications and using computing languages such as ASP and ASP.net language or use databases, MS SQL and MS Access (ODBC) have to choose Windows VPS hosting.

Another matter to consider while comparing Windows and Linux VPS hosting is the price of the hosting solution. Generally, the cost to hire a Windows VPS system is higher due to the cost of licensing and application server. This is because of the fact that most of these applications require more attention and management resources. In this sense Linux servers are less complex and more economic.

Currently, for a small business website Linux VPS hosting can offer more reliabile than Windows VPS. One of the serious problems with Windows VPS is that it does not offer 100% uptime. On the other hand, Linux is all the time up and the user will never have problems in managing it. Though the Linux system uses open source code, it is easy to modify the software and programs depending upon the requirements of the user.

As explained before, Linux is not only cheaper, but also is a good option for webmasters who want to enjoy all the facilities of a Windows VPS but cannot afford it just because of the price. Linux VPS offers exactly what you pay for it in terms of efficiency and offers high quality support depending upon the company you choose.

In order to conclude, before you choose an option you have to conduct your own research and compare your website requirements before choosing a Windows or Linux VPS hosting. Both are great choices, your choice should depend on your needs.

Written by economichosting.net

January 15th, 2014 at 6:26 pm

How to clean qmail queue if spam sending bot attacks your server?

without comments

Simply run these commands. You will be ok in no time 🙂

These commands simply delete all email files from all sub-directories of qmail queue root directory.

It works like a charm for current version of kloxo.


qmailctl stop
find /var/qmail/queue/mess -type f -exec rm {} \;
find /var/qmail/queue/info -type f -exec rm {} \;
find /var/qmail/queue/local -type f -exec rm {} \;
find /var/qmail/queue/intd -type f -exec rm {} \;
find /var/qmail/queue/todo -type f -exec rm {} \;
find /var/qmail/queue/remote -type f -exec rm {} \;
qmailctl start

 

Hope it helps!

Written by economichosting.net

August 17th, 2013 at 12:22 am

Detecting server email abuse for qmail service

without comments

A very simple script that you can use to detect email overuse when qmail is being used for email delivery.

#!/bin/bash
num=`/var/qmail/bin/qmail-qstat | grep -P -o "[0-9]+" | head -2 | awk '{ sum += $1 } END { print sum }'`
if [ $num -ge $1 ]
then
mail -s "Email overuse on `hostname`" "$2" << END_MAIL
Email Overuse on `hostname`
Pending Emails: $num
END_MAIL
fi

Command line parameters

  1. $1 is the number of emails you want to permit. e.g. you may want to have 20 emails in the queue of qmail. In this case If you set $1 to 20 it will not raise overuse email if qmail queue has 20 emails at the time of check.
  2. $2 is the email id where you want email to be sent.

You can also set this as an hourly job in cron.

A sample for hourly cron job is

1 * * * * /path_to_script/detectEmailOveruse.sh 100 test@test.com

Note: We have used this script on our centos server, where it is working beautifully.

Written by economichosting.net

April 30th, 2013 at 9:33 pm

Free domain name and cheap web hosting review

without comments

If you are in the online business, then you must have known by now that you can only be successful online if you have a good domain name and if your website is hosted by a reliable and reputable web hosting company. But, going for professional and really expensive web hosting companies would not be ideal for you if you do not have a lot of money to spend to get your business website to be live on the internet. But, there is nothing to worry about. You will be able to find a good company that offers you free domain names as well as cheap web hosting packages so that your website is live and kicking on the internet and that too without making a huge hole in your pocket.

Free domain names

A domain name is absolutely necessary for you to get your vital business information in the form of a website live on the internet. Free domain names will help you to easily launch your website online without needing to pay for domain name charges and you will be able to find the free domain names only through cheap web hosting service providers. In fact, there are a lot of web hosting service providers who offer you a complete web hosting package that starts from getting you a domain name and ending in getting your website online for internet users. There is a nominal subscription charge that is collected by your web hosting company in the package to get your website online and this is just a one time fee. Once you have paid the subscription charge, then you will be able to use the domain name for the rest of your life.

Cheapest web hosting options 

A dedicated web hosting is not an ideal solution for any website owner who does not have a lot of money in his or her hand to get the website linked live on the internet. A shared web hosting package would be most suited for people who are looking to get their website live on the internet for a nominal fee. Here, you will be getting web hosting space on the server that you need to share with other websites. If you are running a small business, then shared web hosting packages are more than enough to go live on the internet.

Cheap web hosting reviews

If you are thinking of how to find the best and cheapest web hosting service providers, then you need to look at the various review sites and discussion forums that deals with web hosting service providers. Here, you will get loads and loads of information about the different web hosting service providers that offer cheap packages. Make sure that you also look into the programming languages available, web space and transfer allowed as well as bandwidth of the server when choosing your cheap web hosting packages.

Conclusion

If you have the time and the patience by your side, then you will be able to easily find the most suitable cheap web hosting packages to get your small business website online.

Written by economichosting.net

February 17th, 2013 at 5:24 pm

Select a web hosting provider before launching a website

without comments

Why Select A Web Hosting Provider?

Launching a website might appear to be deceptively easy. We need to consider many aspects before publishing a website on the Internet. Selecting the best web-hosting provider should be one of our top priorities. Today, there are innumerable services that offer web-hosting solutions. How are you going to find out more about excellent website hosting services? Before we start discussing the intricacies associated with the domain, here is a brief insight into web hosting services. Access to a web server is necessary to host a website on the Internet. Instead of owning a web server of our own, it makes sense to get the same on a rental basis; and hence signing up for the services of a web hosting company is better.

Always Know The Purpose Of Web Hosting

Always give high priority to your requirements while searching for web hosting solutions. Never forget the purpose of hosting a website on the Internet. It is the duty of web hosting companies to provide tempting offers. Nevertheless, the same time, it is your duty to focus on what you require most and select an appropriate service provider. It is possible to classify the niche of web hosting into two – (a) shared web hosting and (b) dedicated web hosting. The first option is much more attractive to those who are hosting their website for the very first time or if they have nominal uses with the website. On the other hand, if the website in question is going to get a lot of online attention then it is better to stick with dedicated web hosting services.

Opting For Good Customer Support

The web hosting service that you are currently considering should offer a customer support on a 24/7 basis. If things go awry, you need to have access to advice from the experts themselves. Not many web-hosting services provide telephone support these days. Besides, speaking with someone is better any day than sending an e-mail. You need to deal with someone who exclusively offers web-hosting services only. The lucrative nature of the industry has prompted many minor players to try their luck within the domain. By following this rule, you will end up dealing with only large-scale companies who value their customers more than anything else does.

Other Insights To Be Taken Into Account

The prices might be tempting but you need to focus on the quality of service offered. Likewise, look at the features incorporated into the web server. Flexibility is one of the key factors that you need to consider when searching for web hosting services. Of course, premium quality services always come with a high price tag. An easy and fully functioning but effective control panel access to help you to have much more control over the operations of the website. Some web hosting service providers offer access to third-party control panel software while well-established players give away their own customized utilities to the clients. A little bit of skepticism will help you greatly while searching for the best web-hosting providers. Read the online reviews posted by others in order to assess the performance levels of the service provider.

Written by economichosting.net

January 13th, 2013 at 2:22 pm

How to take backup of Linux VPS

with one comment

It is easier to purchase a good bare born VPS, as there are many quality providers who just have to provide hardware resources.

Pain of software is minimized since they sell plain VPS.

Now it is upto the VPS buyer how he wants to take care of own end-customers.

One of the most important things to do on these VPS is regular backup facility.

You should strive for a remote backup. If that’s not possible, backup on mounted disk within same DC is also ok, if not ideal.

Next thing to think about: how do you determine which data to include in your backup?

I am going to propose a basic strategy that works for most Linux hosting customers.

In most of the cases, you should take backup of the mysql database and home directory of the customers.

Later job is easy to do: you can tar home directories and ftp to remote storage.

Now, how to perform mysql DB backup?

There is a very efficient method of doing this: AutoMySQLBackup

This utility works beautifully.

It is easy to install, and easy to configure.

You can create daily, weekly and monthly backup, and cycle them.

Following parameters are important ones which you should edit after installing AutoMySQLBackup.

CONFIG_mysql_dump_username

You should set it to “root” if you want to take backup of entire mysql storage. It stores all database in separate sql file, so easy to restore.

CONFIG_mysql_dump_password
Password of above mentioned user.

CONFIG_do_monthly
Set it to 0 if you want to retain daily or weekly backups.

CONFIG_rotation_daily
Set rotation policy

CONFIG_mail_addres

Email Id where result of backup should be sent. I could not manage this parameter to work.

CONFIG_dryrun
This parameter is very important. It allows you to perform a dry run to capture errors and fox them before actual run.

After taking backup through this program, you can ftp/rsync the backed-up database to your backup storage.

 

A few commands that will be useful to take backup of your Linux VPS:

#tar -czf  /backup/home.tar.gz /home

Above command takes backup of whole home directory. You may chose to make tarballs of individual customers as well.

#rsync -avz -e ssh <source directory>user@host:<remote directory>

You will have to set ssh trust keys for rsync to work in this manner.

I have setup remote backup of a few VPS this morning, each of them took 10-15 minutes on average.

Written by economichosting.net

November 20th, 2011 at 9:19 pm

How to change timezone of your VPS to IST

with one comment

In this article we shall learn how to change timezone of your bareborn VPS.

It is assumed, though not necessary, that you have already installed a hosting panel like Kloxo or Virtualmin.

Changing timezone in OpenVZ

The file /etc/localtime is the one which holds information of server’s timezone.

We shall point it to the correct zone file by creating a soft link.

Run following commands:

# cd /etc

#mv localtime localtime.bak

#ln -sf /usr/share/zoneinfo/Asia/Calcutta localtime

#reboot

Changing timezone in Xen

When I tried to change timezone in Xen, it chnage dtimezone but did not update time accordingly after reboot.

So, I did following:

1. Chnaged timezone using steps mentioned above for OpenVZ

2. Run following command

echo 1 > /proc/sys/xen/independent_wallclock

3. Installed ntp

# yum install ntp

4. Turned on service

# chkconfig ntpd on

5. Synchronized the system clock with 0.pool.ntp.org server:

# ntpdate pool.ntp.org

6. Started the NTP:

# /etc/init.d/ntpd start

7. Reboot the VPS

#reboot

Now you will notice that after rebooting the VPS it again shows wrong time.

Actually you have to set the independent clock every time you reboot the server. To do this, put following lines in /etc/rc.local

service ntpd stop
echo 1 > /proc/sys/xen/independent_wallclock
ntpdate pool.ntp.org
service ntpd start

You would now get correct timezone and correct time every time you reboot your Xen VPS.

Written by economichosting.net

November 6th, 2011 at 11:12 pm

An open source alternative to Cpanel – Kloxo

without comments

Cpanel has been consistently outeprforming rival products when it comes to off the shelf solution for hosting that actually works.

Other paid and free panels have been trying to catch up but users just love Cpanel (and WHM if that needs to be mentioned separately, I think it does not).

Lately, Kloxo panel caught my attention for ease of installtion, easy to configure and being very user friendly.

It might need a bit of extra work compared to Cpanel, but it has becone one of our favourite at this time.

We would start to offer Kloxo accounts to the customer at further discounted rates pretty soon.

For any host we suggest to give Kloxo a try.

We have been encouraging open source movement, which is another good reason why want to promote it.

Written by economichosting.net

November 6th, 2011 at 12:51 am