VPS Hosting blog

VPS hosting updates and technical articles

How to restore Kloxo backup

without comments

If you have configured backups in Kloxo using “Backup Home” option, you may need to restore from it in future.

The restore process is not very intuitive to start with. We are providing quick steps to get your restore done.

You need to follow these steps for restore:

1. First make sure that the backup has been copied on the sever hosting the website, in following directory

 /home/kloxo/client/<username>/__backup

If you have configured ftp backups then you may have to ftp the backed up content to this directory. Make sure the backup file has proper permissions.

2. In Kloxo, go to “Backup Home”. On the first tab, on the bottom you see option “Restore from file for <username>”.

3. Click on the folder icon.

4. Now you will see the backup copy that you copied in step 1.

5. Now click “Select” in front of the file name from which you want to restore.

6. Now click “Start Restore Process”

Now the restore is in progress. You can come back to “Backup Home” and see progress of the restore. Usually it is completed within a few minutes.

Written by economichosting.net

March 17th, 2013 at 5:44 pm

Posted in general,Technical

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

VPS Hosting Plans launched

without comments

We are excited to announce availability of 3 VPS hosting plans – Classic, Ultra and Performer.

Our VPS servers are located in USA.

These plans are the cheapest VPS plans available in Indian market.

You get exclusive features like daily and weekly backups, unlimited reboots and reinstalls etc. with each of the VPS hosting plans.

We are providing guarantee that our plans are the cheapest in India market. If you find cheaper plans, you are rewarded.

More information on our VPS plans is available on this page.

 

Written by economichosting.net

January 10th, 2013 at 11:27 pm

Breadth-First Search implemented in PHP

without comments

While working on an OSCommerce store development, we came across need to get Ids of all sub categories within a category.

In OSCommerce categories and their parent have infinite level of possible hierarchy.

Following is the definition of categories table fo OSCommerce:

/*Column Information For - osc.categories*/
-------------------------------------------

Field             Type         Collation          Null    Key     Default 
----------------  -----------  -----------------  ------  ------  ------- 
categories_id     int(11)      (NULL)             NO      PRI     (NULL)  
categories_image  varchar(64)  latin1_swedish_ci  YES             (NULL)
parent_id         int(11)      (NULL)             NO      MUL     0
sort_order        int(3)       (NULL)             YES             (NULL)
date_added        datetime     (NULL)             YES             (NULL)
last_modified     datetime     (NULL)             YES             (NULL)

 

Now for a category I need all child subcategories, sub-sub categories and so on…

We developed following code that work like charm:

function get_cats($cat)
{
$i=1;
$remain=array();
$all=array();

/* Note: write your mysql connection stuff here or above it somewhere. */

$remain[0]=$cat;
$all[0]=$cat;

while(sizeof($remain)>0)
{
$curr=$remain[0];

$res=mysql_query("select * from categories where parent_id=$curr");
while($row = mysql_fetch_array($res))
{
$all[$i++]=$row['categories_id'];
$remain[sizeof($remain)]=$row['categories_id'];

}
unset($remain[0]);
$remain=array_values($remain);
}
return $all;
}

 

You can use it by passing a category id whose all children’s ids are needed, like:

$all_categories=array();
$all_categories=get_cats(73);

 

Above code fragment will give you all categories that come under category number 73, irrespective of their immediate parent.

I hope it would be useful for many people, so posting it here.

Thanks

Written by economichosting.net

January 20th, 2012 at 11:32 pm

Posted in Technical

2011: The Year That Was

without comments

We are in business for more than 3 years now, but 2011 presented unprecedented story for us.

Year 2011 brought more than 200% growth to Web Hosting and Domain Registration businesses.

Thanks for your unabated support.

We are committed to do even better in coming years with your continued trust and support.

Written by economichosting.net

January 2nd, 2012 at 10:05 pm

Economichosting.net is top ranked by Google!

without comments

The fact that Economic Hosting has been outstanding in providing premium web hosting is not new. It feels nice when our customer give very good feedback on our services.

Now it feels even nicer since Google is also giving tremendously positive feedback about on business.

Economic Hosting has been TOP ranked by Google for many web hosting related searches.

Have a look at following screenshots to know what Google thinks about our business.

It is a tremendous feat for our organization, especially considering that we are 3+ years old hosting company, and we are standing next to 15+ years old organizations in India as far as ranking by Google is concerned.

Following many screenshots depict only few of the dozens of keywords where we are on page 1, that too handsomely, within top 5 results of Google worldwide.

It is interesting to note than even our blog is ahead of our competitor’s main website. It shows that our users like our blog as much as our committed services.

We thank all our customers for continued support that has indeed enabled us to grow tremendously in fiercely competitive industry.

We are moving very rapidly, and we are sure your support will take us to the numero-uno spot in hosting industry of India.

 

Read the rest of this entry »

Written by economichosting.net

December 4th, 2011 at 11:40 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