How to Choose the Best Web Hosting Service

Choosing the right web hosting for your project can sometimes be very difficult as there are many things you need to consider and watch out for. There is no best web hosting service, however, there are those that will best tend to the particular needs of your project. With that in mind, let’s get started! I’ll explain how to understand your hosting requirements before diving into how to find the best hosting provider that can meet your needs.

What factors do you need to consider when choosing a hosting service?

Perhaps this would be a longer list so we will narrow it down the most important and essential features you need to look for:

  • Storage space and bandwidth – if it is a small portfolio web site, a squeeze page or just a simple landing page (or anything you don’t plan on monetizing and driving too much traffic to) then this is a factor you don’t need to worry about so much. But, if you are planning on starting a popular blog with regular posts then you will need to consider having a lot of storage space for the future and quite some monthly bandwidth. Best choice for these sites are hosting plans that offer unlimited storage space and bandwidth.
the best web hosting

Understand your needs before you rush in

  • Up-time and security – as a paying costumer you deserve a reliable service with 100% up-time and dedicated servers. Do not settle for less! All the web hosting services we will present you offer only the best!
  • Cost – do not let cost cloud your judgment and go for something that is not good for you, just because of the cost. You may save some money, but you can lose a lot in the long term.
  • Supported web technology and coding languages – generally the best services out there support the latest in Internet technology so no need to worry about it, unless you are after some advanced settings for your website project.

What Kind of Hosting do You Need for Your Website?

When we talked about bandwidth and storage we asked ourselves a similar question. Are you a photographer looking for small portfolio to showcase to your clients? Then you probably do not need too much space or bandwidth and can find great, reliable hosting for low price. If you are planning an online shop or a profitable blog in a certain niche then you will probably need a lot of space and bandwidth. A great thing to consider is that a lot of hosting providers give you the option to start out small and then upgrade once you need to.

Generally speaking, data transfer and bandwidth are a bigger concern than storage space. Wireless internet and mobile users are more and more common so you may find your bandwidth being eaten away more quickly then you expect. On the good side of things, it is good to note that bandwidth costs have dropped in recent years.

Look for Reliable and Secure Web Hosting!

Bad web-hosting services can harm your profits and web page ranking on search engines like Google. This is especially true if you decide to use shared hosting. Make sure that your  IP isn’t shared with spammer websites as this will earn you a big penalty with Google.

When it comes to security look for hosting services that provide 128-bit SSL certificate encryption and measures such as SFTP (secure file transfer protocol). And of course, only go for the web hosts that offer 100% up-time!

Review of the Best Web Hosting Services

hostgator-webhostingHostgator, is a web hosting provider that is recommended by many websites and reviews on the Internet and is known for being reliable, flexible, affordable and to offer excellent customer support. All rating indicate they provide great service, but there have been known issues with their service being slow or experiencing some short down-time. You can get unlimited space and storage for as low as $4 a month which is really something to look into! Hostgator’s re-seller package is what most designers and developers go for, as it offers a lot of freedom.

vps net hosting reviewVPS.net is a cloud storage provider with cloud web hosting solutions. Their cheapest web hosting package is titles Business and provides 5GB of disk space and 250GB transfer, which makes it great for sites that have up-to around 25,000 visitors per month. The downside of this is the cost which $20 per month.
wp engine hosting reviewWPEngine is web hosting provider for sites based on WordPress that is very good and reliable. It is really on of the better choices for a WordPress blog and you can get 5GB of disk space and 15GB of bandwidth per month (with overage of $0.20 per GB), for a price of $29 per month. There a lot of other features that they provide that you may not get from other web hosts such as managed upgrades and daily back-ups. The downside is that it may be a more expensive then other providers.
site5 hosting reviewSite5.net is a great web hosting service and good competitor to Host Gator. You can get their shared hosting for as low as $5 a month with unlimited space and bandwidth. To get the dedicated IP that we talked about you would have to subscribe to the package that costs $12 a month though. But, this still looks quite cheaper then some of the services mentioned above. A great option they provide is the feature to select the location of the server you want. So if you know the largest number of your traffic will be from the US, you can choose a server in the US to provide those visitors with the best loading time. They also provide solid Cloud and Re-seller hosting which you should look into.

How to Setup DNS for Google Apps Mail on CloudFlare

What? You’re not using CloudFlare? It’s really easy to get yourself setup and I can go on-and-on about why you should – in fact, I do in this post on why you should use CloudFlare. At this point, let’s assume you’ve joined the rest of us powering our sites through CloudFlare. Well by now, your DNS has been taken over and you may want to setup Google Apps email. If so, here are instructions on how to properly setup your DNS entries to play nice together.

There are 2 types of entries to configure / add to your DNS zone. Google Apps does a good job of walking you through this, and so does this CloudFlare knowledgebase. entry, but I find sometimes seeing it visually clears up any doubts. After all, we want to get it right the first time. So here’s what we’re going to add as instructed by Google Apps:

Firstly, to setup Google Apps email, you will need to enter a CNAME entry to you DNS zone:

Host Name/Alias Value/Destination
Your URL prefix
Example: mail
ghs.google.com

When you set this entry up, be sure to deactivate CloudFlare from handling traffic on this entry. This means the cloud icon should be grayed out, not active (orange). There’s no need for CloudFlare to handle your mail as that’s not its purpose.

Next, Google Apps email requires that you add the following 5 MX entries to your DNS. These are necessary to ensure your email flows through to/from Google’s mail servers.

Priority Mail server
1 ASPMX.L.GOOGLE.COM
5 ALT1.ASPMX.L.GOOGLE.COM
5 ALT2.ASPMX.L.GOOGLE.COM
10 ASPMX2.GOOGLEMAIL.COM
10 ASPMX3.GOOGLEMAIL.COM

If you did all that correctly, your CloudFlare DNS entries will look like this:

Don’t forget to change yourdomain.com to your real domain URL. If you’ve completed these steps, you can now wait for the internet to propagate these DNS changes which can take anywhere from 1 hour to 48 hours. So get a drink, write something worthwhile, and check back later. If you have any questions, just leave a comment and I’ll do my best to help.

What is CloudFlare and Why You Should Use CloudFlare

A few month ago I became intrigued by the CloudFlare hype and gave it a try. Well, I have great news to report – it’s excellent! If you’re still not sure what CloudFlare is or how it can help your site, then keep reading…

What is CloudFlare?

Well, they say it better than I can on this page:

CloudFlare protects and accelerates any website online. Once your website is a part of the CloudFlare community, its web traffic is routed through our intelligent global network. We automatically optimize the delivery of your web pages so your visitors get the fastest page load times and best performance. We also block threats and limit abusive bots and crawlers from wasting your bandwidth and server resources. The result: CloudFlare-powered websites see a significant improvement in performance and a decrease in spam and other attacks.

Got all that? If not, let’ say it differently. Here’s what CloudFlare does for your website:

Why You Should Use CloudFlare

Global CDN – CloudFlare is a CDN (Content Delivery Network). It delivers content from the location closest to the visitor. This speeds up your site’s loading time. They have plenty of data centers around the world. SPEED!!!

Cache – More speed? It caches your site without having to go through complicated configurations and technical jargon. CloudFlare will cache static content such as images, CSS, and other files on your site automatically. Best of all, it doesn’t cache the HTML so you’re site will always see the most updated content. You can even continue using your existing WordPress cache plugin in conjunction with CloudFlare without conflict.

Security – Am I the only one who’s seeing a spike in security threats and attacks lately? Well, CloudFlare keeps track of potential threats and blocks them before they get to your site. Whether it be spammers, denial of service (DOS) attacks, or suspicious bots, CloudFlare’s got your back. They use their large database of information to determine who’s a threat, and you can even choose IP addresses to block.

Optimize Files – If you’re using a plugin to optimize your CSS or JavaScript files, you can now let CloudFlare handle that task.

Server Down? – Don’t worry because CloudFlare actually continues to serve the cached pages. to visitors. That will save you some embarrassment while you go figure out what’s happening.

Cool Analytics – Google Analytics is great, but it won’t give you some of the neat insight that CloudFlare’s Analytics displays such as threats, search engine crawlers, or how much time your visitors have saved because your site loads faster. What I like about their analytics screen is that it’s quite digestible and not as intimidating for beginners.

If these awesome benefits are not enough to compel you to try CloudFlare, then how about the fact that it’s FREE! Yes, CloudFlare does all this for free. As expected, if you want more features, you can always go the Pro route, but this is plenty sufficient for most bloggers. So hop over to CloudFlare are test a site or two.

On a side note, if you’re keen on having your mail handled by Google, then check out this post on how to setup Google Apps email on CloudFlare.

Let me know your results in the comments. Did your site load much faster? Same? Impressed or not? Share your experience.

How to Increase WordPress File Size Upload Limit

Uploading large audio or video files will eventually require you to increase WordPress file size upload limit on your site. There are a few different ways to increase the file size limit, and both methods can be handled by beginners.

Method 1: Update php.ini file

1) Open a text editor such as TextEdit or Notepad++.

2) Copy the following text into the file:

memory_limit = 96M
post_max_size = 96M
upload_max_filesize = 96M
file_uploads = On

3) Save the file as: php.ini

4) FTP the file to the root directory of your site. In some cases, uploading the file to the wp-admin directory has proven successful.

5) Test your site and see if the upload limit has changed.

If uploading or updating your php.ini file has no affect, then you can always try the following method.

How to Setup Google Analytics

You got a website and need to track visitors. With so many tools out there, you might be confused about which one is right for you. Well let’s save some time and setup the industry standard. Google Analytics is the world’s most used and most trusted visitors tracking system. This tutorial will help you to set it up for your site in 5 minutes.

You will require to just copy paste some lines of code to the footer of your website for activating Analytics. So let’s start it!

Step 1: If you don’t have a Google / Gmail account, Signup for it.

Google Analytics will require you to have a Google account before you get started. If you are using any of the services like GMail, orkut, or any other Google services, you can use your account credentials here in Analytics.

 

Step 2: Login at the Analytics page with your Gmail account. Click on Access Analytics button.

To access analytics data for your website, you will require to login to the analytics page.

Step 3: Sign up for Google Analytics after logging in to your account. Accept the user agreement and click on “Create New Account >>”

Here in the signup form, fill in your details like name, phone number, etc.

Step 4: Get the tracking code.

Now you will get the code in two files: the new tracking code file [ga.js] and the Legacy Tracking code [urchin.js]. Just save them on your hard drive.

 

Step 5: Make your website ready for Google Analytics

Open your website’s root directory in Dreamweaver. You should see all the files and folders in the Files tab of the explorer. Get to the file called ‘footer.php’ in the ‘includes’ folder. You need to paste the java script code you just discovered in the step 4 to the ‘footer.php’ file. Find the </body> tag and paste the analytics code just before it. Refer to the following image for a clear idea.

 

When you place the code in footer.php file, it means that every page of your website will include that footer file and indirectly, the Google analytics code.

Step 6: Test your site!

Ok you are almost done with the installation. Now it’s the time to check if this works or not. Go to site scan website and place your website’s URL and your email address on the home page. Here you can set the type of javascript you want to search for. Put it to automatic detect if you are not sure with the type. Start the scan and you will see a report similar to the following image:

Now that you are done with setting up Google Analytics for your website, the next steps are to setup goals and filters. Hope you enjoy a better tracking system for your site.

How to Remove Malware – Infected Site Guide

There’s been a surge of hacker activity lately leading to malware on WordPress sites. If your are experiencing any of the following issues, then this guide on how to remove malware may help you clean up the damage done to your site and/or server. Please note this guide is written for beginners and the common WordPress use. Therefore, I intentionally do not cover advanced technical trouble-shooting.

What is Malware?

Firstly, we have to understand what the heck malware is – after all, you can’t fight something you can’t define. So let’s go with the definition given to us by Wikipedia:

Malware, short for malicious software, consists of programming (code, scripts, active content, and other software) that is designed to disrupt or deny operation, gather information that leads to loss of privacy or exploitation, or gain unauthorized access to system resources, or that otherwise exhibits abusive behavior.

Now we know that malware is essentially code that somehow got onto your site or server. The first step is figuring out whether your site actually has malware. Here are some common symptoms of malware on WordPress sites:

This guide consists of the following sections so that you can follow along step-by-step:

  1. Determine If Site is Infected with Malware
  2. Backup current site (as-is)
  3. Review and remove erroneous files
  4. Timthumb Notes
  5. Update WordPress files
  6. Update wp-config.php file
  7. Update / Remove Themes and Plugins
  8. Update Usernames and Passwords
  9. Clear Browser and Site Cache
  10. Re-Scan Site for Malware
  11. Conclusion

The guide assumes the following:

  • you wish to avoid starting your site fresh, in which case, you could simply delete the entire site and wordpress database and start over without completing any of these steps.
  • you wish to restore your site to its pre-infected state.

Let’s begin…

How To Change Google Plus Page URL

I just setup my first Page on Google Plus and immediately searched my profile for the option to set a custom URL (vanity URL) for my Google Plus Page. It took about 10 minutes to realize that there’s no such option.

A quick Google search led me to a service called GPlus.to which allows you create a short URL which redirects to your Google Plus page. I should note this is not a Google product or service. However, since my goal was really just to have a shorter URL which I can remember and is easy to type in, the service met my needs.

I’m surprised that Google doesn’t offer this key feature yet. It’s possible that some users do have this feature enabled on their account, but I did not. Have you changed your Google Plus page URL yet? If not, why?

The uploaded file could not be moved to

A few hours ago I moved a site from HostGator’s shared hosting to their VPS server offering. While the process could have been much smoother, it had several bumps along the way. None more annoying than the following error when attempting to upload images or media on a post within WordPress:

The uploaded file could not be moved to /var/www/vhosts/yourdomainname.com/httpdocs/wp-content/uploads/2011/11.

In short, WordPress could not upload the image file. This is the last thing one would want to deal with when migrating a site. However, it is clearly a permissions issue and needs to be resolved on the server. Since most people are not server administrators, and neither am I, here are all the solutions I researched throughout the web in order from easiest to most difficult. Hopefully, one of these hacks will work for you.

Set the Default Folder for Uploads in WordPress

1) Login to WordPress and go to Settings > Media.

2) For the input labeled: Store uploads in this folder, specify the following as the value if it is blank:

wp-content/uploads

3) Save changes and test your ability to upload images. If you still have issues, move on to the next solution.

Changing Folder Permissions via FTP

On most VPS servers, you have to set permissions and ownership. Said differently, if you have the ability to set permissions but you are not the owner, then you will not be able to move or copy files into that folder.

WordPress tries to move uploads to the designated folder. However, if it does not have permission to do so, that would result in an error. It will only succeed if your write permissions are valid. Therefore, make sure your write permissions are correctly set and that you own the /uploads folder. Your FTP client displays the owner of the folder and is usually the username connected to the ftp server.

Below are instructions on how to change folder permissions via FTP:

1) FTP to your server, and navigate to the wp-content/uploads directory.

2) There, change the permissions of the /uploads directory to 777 (i.e., chmod to 777). In most FTP clients, you can right-click on the folder to get to the screen that allows you to change the folder permissions. If it asks you whether you would like to apply changes recursively, enable that as well.

3) Check WordPress by adding a new post and uploading an image. If it works, move on to the next step. If it doesn’t, then move on to the next solution.

4) If the previous step worked, now we’ll go back and change the permission of the /uploads folder to 755 (apply changes recursively). We’re doing this to avoid having a write-able (777) folder which is a security vulnerability.

NOTE: Do not leave your permission set at 777 – it exposes your site to hackers.

5) Check WordPress by adding a new post and uploading an image. If it works, then your issue is resolved. If it doesn’t, then move on to the next solution.

Changing Folder Permissions via Hosting Control Panel

Sometimes, the FTP user does not have the same privileges as the account owner. To ensure that changing folder permissions isn’t the solution, try logging into your host’s control panel and check the folder permissions from the File Manager. If they are correct, then move on to the next step. If is is not correct, edit the folder permission there and re-test the upload function through WordPress.

Creating a New Uploads Folder

1) FTP to your server, and navigate to the wp-content/uploads directory.

2) Rename the uploads directory to uploads-old.

3) Now, create a new folder named uploads. Change its permissions to 755.

4) Copy all sub-folders and files from the /uploads-old directory to the new /uploads directory.

5) Check WordPress by adding a new post and uploading an image. If it works, then your issue is resolved. If it doesn’t, then move on to the next solution.

Turn Off PHP Safe Mode

For some folks, turning off PHP Safe Mode may be the solution to this issue. However, not all users will be able to do this as many hosts restrict access or edit privileges to this file.

1) Navigate to your server

2) Locate the php.ini file. It is usually in your /etc directory from the root.

3) Open php.ini in a text editor and change the PHP Safe Mode value (if it exists):

On

to this:

Off

4) If the line does not exist, then add it.

5) Test your upload capabilities in WordPress.

Other Solutions

There are other potential solutions available however they are far more technical and require understanding of critical server files. Therefore, in the interest of preventing you from causing damage to your site and server, I won’t go into those here. At this point, if you are still having the issue, contact your host and have them resolve it.

Conclusion

I hope this was useful for folks having this image upload issue. Please let me know which solution worked for you in the comments below.

Your WordPress Site is Not the Same

If you are not database-savvy, you should definitely not be running SQL queries. It’s like trying to launch a rocket space ship (leave that to the pros). The consequences of a mishap, related to your own doing, are not worth it.

Ok, I’m going into explanation mode for the benefit of the community so they can get a bit of perspective on migrations, so bear with the wordiness.

Every site is different. I get a lot of folks that tell me:

  • I just have a WP site – why is it different than anyone else?
  • It’s just a simple site – why is it that instructions A or B don’t work?
  • I just want to move the site – how hard can that be?

The problem with those statements is that even though we ALL run WordPress, none of us do so in EXACTLY the same way. In fact, no two sites are the same – here’s why:

  1. All content (posts / pages) reside in a WP database (most beginngers / users don’t know that’s really where it is stored). But to their credit, they don’t really need to think about it UNTIL a data disaster occurs or they want to migrate their site. So basic point here is that all your data resides in a database.
  2. Each user has different plugins he/she prefers. The data those plugins create, as well as the data tables, are all created in that main WP database. For example, I recently logged into a user’s site with 107 plugins. Talk about scary!
  3. Over time, your database becomes less optimized as you store more data, activate / install / deactivate / delete plugins, etc. This is why users should backup and optimize databases regularly.
  4. The content (posts/pages) may be corrupt but user might not know it yet. This is why users should only use quality content entered directly into WP.
  5. etc. etc. etc. the list can go on and on…

So when all those factors add up, you have a very different site than the next person. Which is why no 2 sites are really the same ever.

This is also WHY most hosts will NOT touch your database and most developers will not offer such a service. Because it truly is a case-by-case service and must be handled very carefully. Hosting providers want to avoid users claiming their site doesn’t work, or X or Y plugin doesn’t work, etc. You can just imagine the possibilities, especially when the technical jargon behind what’s happening isn’t fully understood. So now we know why this is not a juicy service to provide.

Ok, so where does that leave the user?

  • To be extremely careful with their awesome site!
  • Understand that moving files and folders does NOT mean your database is moved too
  • Plan the move step-by-step. If possible, do a test first.
  • Hire someone who knows what they’re doing! It should not cost much.

If you are looking for a good source that explains how to move your WordPress site, start with the WordPress Codex. I found most other sources on the net out-dated, inaccurate, untrustworthy, or just wrong.

How to Increase WordPress PHP Memory Limit

I tried to upload an video to WordPress today and realized that I needed to increase my WordPress PHP memory limit. This is an easy step and can be performed by beginners.

1) Simply open up a text editor such as TextEdit or Notepad++.
Note: MS Word is NOT a text editor.

2) Copy the following into a new file:

memory_limit = 96M
post_max_size = 96M
upload_max_filesize = 96M
file_uploads = On

3) Save the file with the following name: php.ini
Note: If you are using GoDaddy, you may have to name it php5.ini instead as they upgraded their servers to run PHP5. But why would you be on GoDaddy anyway? :)

4) FTP to the root directory of your site. This is where your wp-admin and wp-content folders reside on the server. Upload the php.ini file to the wp-admin directory.

5) That’s it!

Let me know if it worked for you? If not, I may be able to offer some guidance. Enjoy.