VPS Hosting blog

VPS hosting updates and technical articles

Critical: how to fix Shellshock vulnerability

without comments

This is bigger than Heartbleed, and could take years to get majority of the servers updated throughout the world.

If you are a sysadmin, it would not take more than a minute to find out if your system suffers from ShellShock.

on Bash prompt, type following command and hit enter:


# env VAR='() { :;}; echo This is bad!!' bash -c "echo Just a Test"

 

If the result includes the string


This is bad!!

 

it means your system is vulnerable.

If so, update bash by running one of the following commands:

 

#sudo apt-get update && sudo apt-get install --only-upgrade bash

#sudo yum update bash

 

Our customers can rest assured that we have patched all our servers, and we do not have any server suffering from this vulnerability anymore.

All the best and keep your systems secure!!

Written by economichosting.net

September 27th, 2014 at 10:41 am

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

Important aspects for managing a VPS server

without comments

The Virtual private server (VPS) is a server in a shared environment, but with absolute control, flexibility and operational isolation. Every VPS account is independent, that is it can be configured according to the needs of each client. The Virtual private server (VPS) is the perfect solution for webmasters, designers and companies, seeking greater independence, security and exclusivity in their applications, or need resources not included in the plans of shared hosting. To have an own IP of your virtual server, reduces the risk of security problems by up to 99% if compared to a web hosting on a shared hosting.

Understanding the VPS hosting model

Virtual server offers the possibility to configure as many domains as you wish. Some of the important features of this hosting system are as follows:

  1. Unlimited mail accounts
  2. Unlimited databases
  3. FTP access to the Web space
  4. Mail Manager (Mail Admin.)
  5. Webmail (Horde)
  6. Web statistics
  7. vii.  Located in the Data Center.

VPS management: root access

VPS root access is one of the advantages of using Linux VPS hosting service. Access to the Linux VPS root ensures total control of the server, allowing installation of packages or customizing settings according to specific needs. However, all this depends heavily upon the nature of the VPS hosting package you choose for your web site.

VPS server management and the hosting company

Administer and manage VPS servers on the web can be a difficult task for inexperienced people in the Linux operating system. However, there are Linux hosting companies that offer end-to-end management of Linux VPS servers on the web, and are targeted to the users who need to dedicate their valuable time for their own business, such as: web designers, E-commerce website owners and companies who provide technical support to the end user. In this sense, choosing a hosting company that can offer server management service is useful to save both time and money.

This way you will have their support and advice via their “full management” system, and ensures the security of data, files and information saved in the Linux VPS server. You can take the advantage of this possibility to avert problems that might occur to your VPS server. The hosting company will help you install, optimize, configure and always keep your VPS updated, including paths of kernel-level security (beyond the CPANEL/WHM). You will also have at your disposal their technical support on any issue, problem or question regarding your VPS server.

Managing your own VPS panel

It is also possible to manage your Linux VPS cPanel by yourself. There are hosting companies that offer advanced cPanel system which is more lightweight, reliable and above all safe and even an average computer user can manage all these facilities. This facilities enhances the possibility to be able to manage several VPS with just one log-in, reinstall the VPS operating system more quickly and efficiently, possibility of resale as well as the ease of navigation. However, beware that this Panel only helps in the technical management of your VPS not replacing any panel installed by the Web admin.

Written by economichosting.net

January 4th, 2014 at 11:14 am

Posted in general,Technical

Why to use VPS hosting for E-commerce websites

without comments

Virtual private server (VPS)   is a completely independent segment of a hosting server with its own resources. This method, which relies on the virtual computing, divides a physical server into a multitude of independent virtual servers from the other. Each virtual dedicated server operates with its own operating system, its own software, applications and functions. If any one of these system fails, it will not practically affect others and the website will continue to operate normally. VPS hosting is the perfect solution for E-commerce websites, whose growth exceeds the capacity of the shared server but are not yet ready to establish a typical dedicated server. This solution allows to combine the advantages of dedicated server and shared server: autonomy, performance and security at an affordable price. Therefore, it is considered as the best astute hosting for developer mode.

In this sense, VPS hosting for E-commerce websites can address all the potential problems of web hosting. One of the highlights of this technology is that it is the perfect solution between the shared server and the classical dedicated server. Other advantages are as follows:

  1. Administrative autonomy
    Since the VPS hosting companies provide access to the panel/Kernel (the root), the virtual dedicated server offers the same level of autonomy as the classical dedicated server. You can install your own applications and services and configure them as you wish.
  2. Performance
    One of the disadvantages of shared hosing service is that it is completely dependent on traffic and the activities of other shared hosting. This is not the case with the virtual dedicated server. You have your own resources and you are completely isolated from other servers.
  3. Security
    VPS hosting has all the security setup for the host server. Your file system is private, completely secure and inaccessible to other customers, regardless of their rights on the server.

VPS hosting for E-commerce website is the only  alternative available between shared hosting and dedicated hosting. The dedicated hosting avoided the problems of hosting by allowing a Web site to be stored on a single dedicated server. However, this method has always been more expensive for small and medium business sites.

However, VPS hosting can be the best option for E-commerce sites, there are three things that you should look for, when it comes to choosing a hosting company. The first thing to consider is the root access (access to the kernel/Panel). One of the reasons to buy a VPS server is to take advantage of the ability to install software and applications developed for your website. Some companies deny this amazing option to make more profit for them.

Secondly, you must verify if a Web host offers quality server management tools that are easy to use and interpret. A virtual private server as a dedicated server requires more management than a shared hosting account. Without quality management tools, you might encounter problems.

Finally, you must consider the number of domains that the hosting company allows to host on a single account. If the number seems low, you should probably look elsewhere for a better deal.

Written by economichosting.net

December 21st, 2013 at 1:07 pm

Posted in general,Technical

How to add clam antivirus to cron of your server

without comments

You can achieve this yourself also if you are good in shell scripting.

However there is a beautiful shell script available at http://code.google.com/p/clamav-cron/

Go have a look, and enjoy killing malware!!

Written by economichosting.net

September 6th, 2013 at 9:42 pm

How to remove error message “Strict standards : Non-static methods called statically”

without comments

This happens because of stricter checks in newer versions of PHP.

In any case this message is just a warning, and not a fatal error.

One option is to modify the source code of your website to handle the reported method.

Other option is to just disable the printing of warning messages.

For doing this, you have to create php.ini file in web root of your website (usually public_html in Cpanel) with following contents.

If it is already existing, add these lines at the bottom.


error_reporting   =   E_ALL & ~E_NOTICE      ; Show all errors except for notices
display_errors   =   Off   ; Print out errors (as a part of the output)

Your issue will be resolved.

 

Written by economichosting.net

September 5th, 2013 at 7:45 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