WP Marketing » hostgator http://wpmarketing.org Wordpress for Internet and Affiliate Marketing Fri, 24 Jun 2011 02:18:40 +0000 en hourly 1 http://wordpress.org/?v=3.1.3 Speed up WordPress under Hostgator shared account http://wpmarketing.org/2011/06/speed-up-wordpress-under-hostgator-shared-account/ http://wpmarketing.org/2011/06/speed-up-wordpress-under-hostgator-shared-account/#comments Fri, 24 Jun 2011 01:54:00 +0000 HanaDaddy http://wpmarketing.org/?p=480 Recently I was looking to enhance the speed of my baby croc account at the
Hostgator. I have no doubt that the Hostgator is the best hosting service provider with the best customer service. That is true. However, my baby croc account became so slow with the growing additional addon domains. You can host more unlimited domains on a single baby croc account.

Let me talk about what you can do first with the Baby croc shared hosting account.

  • Unlimited disk space : my current disk space usage is about 8 GB
  • Unlimite email account : I do not have many email accounts, because it’s headache to maintain multiples email accounts. I would rather recommand to use Google App service
  • Unlimited bandwith : Current monthly transfer records shows that I used over 16GB
  • You can add unlimited addon domains meaning that you can add additional domain with wordpress to the same account without extra charges.
  • You can maintain DNS services for your domain.
  • CPanel, SSH access

It’s so attractive with unlimited disk space, bandwidth, addon domains, and it’s so cheap! It’s only about 7 dollars per month. What more anybody would want form a hosting service?

The baby croc or shared hostings is basically that you are sharing the server with other people. It is not clear how many people are sharing the server together, but it is clear that there are some limitations on what you can do.

Here are some the limitations

1. The maximum PHP memory size is 64 M per execution.
64MB memory is still amazing, but you can not allow more than that. When you enable ‘php.ini quick config’ in the CPanel, the PHP will read in the php.ini file in your home directory. You can actually edit the file and set ‘memory_limit’ to more than 64M, but in fact memory limit error will occur if more than 64M is used.

2. The maximum number of simultaneous processes are 25.
This is the biggest problem that I am experiencing. If the simultaneous process goes over 25, the web request will result 500 Internal Server Error. If you’re WordPress site is slow and have many simultaneous visitors, many of them will see the 500 Internal server error. I am having problems with one of my WordPress site which has some plugins utilizing curl functions. When the remote site is unreachable, the curl function is basically waiting for the reply and does not timeout automatically. So this process will idle and eats up available processes slots. And eventually my visitors will soon see 500 error pages when maximum available processes are all used up. You have to login to your CPanel and manually kill the idling processes.

One way to solve is to define the Conneciton timeout setting for curl function.

curl_setopt($session, CURLOPT_CONNECTTIMEOUT, 10); //10 seconds time out

3. Does APC work with Shared Hosting?
For security reason, the suPHP is used. And that is fine, but the real problem is that any kind of PHP opcode cache solution will not work including APC. I have searched everywhere to find the solution to implement APC or any similar solution to speed up the PHP processing, but I found that it is not possible under suPHP. APC or opcode cache solution stores binary opcode data in the memory space to speed up the next processing of the PHP resource. However, under suPHP this is meaningless , because each PHP processes are separate processes and won’t be recognized.

By default the php.ini does not come with apc.so file , but I was actually able to install apc.so file and I succeeded to show APC in the phpinfo() result page. And ran some benchmarking software to compare the speed with and without apc.so library enabled. But basically there was no difference in the processing speed. (If you are interested in trying this yourself, let me know)

4. FastCGI can be activated easily.
FastCGI is well known for enhancing PHP processing speeds by running number of persistent processes to handle the requests all the time. You can activate FastCGI by adding below line into your .htaccess file in the document root directory.

AddHandler fcgid-script .php

However, I do not recommend you to activate this unless you are on the VPS or dedicated server. On the shared hosting account, you can have only upto maximum 25 processes. With FastCGI enabled, those FastCGI php processes will take available slots and you have much less simultaneous process slots. Also your website eventually becomes unstable and you would soon see 500 Internal Server Error message.

So I have spent some time to find a way to speed up my WordPress sites , but all the well known methods were all failed.

However, the best method for me was to use ‘W3 Total Cache’ plugin . It is little bit confusing when you first try to set the settings with all the options. But I only recommend to use Page Cache. Database cache will create so may files in the disk which will increase the number of inodes. (There is limit on the number of inodes you can create under Hostgator Shared account) But the result is amazing!

If you know a good tip on speeding up PHP process under Shared hosting account, let me know!

Thank you for visiting wpmarking.org.

]]>
http://wpmarketing.org/2011/06/speed-up-wordpress-under-hostgator-shared-account/feed/ 0
Amazing HostGator Cyber Monday Deal 50% OFF http://wpmarketing.org/2010/11/amazing-hostgator-cyber-monday-deal-50-off/ http://wpmarketing.org/2010/11/amazing-hostgator-cyber-monday-deal-50-off/#comments Sun, 28 Nov 2010 03:42:05 +0000 HanaDaddy http://wpmarketing.org/?p=451 Hostgator is the most reliable web hosting service provider. They had Black Friday deals with 50% off all day and 80% off from 5AM to 9AM CST. I was thinking of taking the 80% deal, but I woke up too late. But 50% discount deal was also great! I bought a shared hosting BABY Plan at $3.95 a month even though I already have one. The regular price is $7.95/Month for 3 years. And the regular total price is about $286. But with 50% discount deal, I paid only $143! Therefore I was able to save more than $140!

But don’t be disappointed yet! Here is the good news! They have decided to extend the 50% discount deal for the Cyber Monday (Nov 29th) and 50% discount will be automatically applied on all of their products. The coupon reference code is CYBERMONDAY2010.

  • Shared Hosting: ONLY $2.48/month
  • Reseller Hosting: ONLY $12.48/month
  • VPS Hosting: ONLY $9.98 First Month
  • Dedicated Servers: ONLY $87 First Month

Even if you already have hosting service plan, it is a very good deal. This kind of opportunity never comes again. I strongly advise you to take this opportunity.

This promotion will run Monday November 29th from 12:00AM to 11:59PM CST.

Link Directly to Shared Web Hosting Page


HostGator Link

]]>
http://wpmarketing.org/2010/11/amazing-hostgator-cyber-monday-deal-50-off/feed/ 0
Fantastico WordPress Installation and WordPress Privacy Settings http://wpmarketing.org/2009/09/fantastico-wordpress-installation-and-wordpress-privacy-settings/ http://wpmarketing.org/2009/09/fantastico-wordpress-installation-and-wordpress-privacy-settings/#comments Mon, 28 Sep 2009 15:06:01 +0000 HanaDaddy http://wpmarketing.org/2009/09/fantastico-wordpress-installation-and-wordpress-privacy-settings/ Did you use your CPanel’s Fantastico module to install WordPress and you are having hard time promoting your WordPress website? Check your privacy settings now!

It’s probably because your Privacy Settings is set to search engine “blocking” mode which says “I would like to block search engines, but allow normal visitors”.

image
You should click on the Settings , Privacy menu , and allow search engines by selecting “I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers” option.

I have been using WordPress and performed installation several times in the past using the WordPress default installation index.php file. But decided to try Fantastico this time because it simplifies the setup process. There is no separate DB setup process , quicker and faster setup. I liked it. But then I guess Fantastico’s WordPress predefined options for privacy setting was to block search engines.

Usually you would start promoting your website by submitting your site to Search engines Directories and social bookmarking websites. Then search engines would crawl to your website and index pages within few days.  But I found the problem when my new website not being indexed , but also AdSense was not working at all.

The AdSense AD always showed Public Ads. As long as I understand, public Ads are showing when Google does not properly analyzed the webpage yet. Then I checked with Webmaster tools and I found robots.txt was blocking the webbots from crawling.

I am not sure if this behavior is only applied to Hostgator, but highly possible that most of the other hosting provider’s Fantastico might be the same, installing WordPress with blocking mode.  So be careful and check privacy setting after installation if you use other similar setup tools to install WordPress.

If you use the original setup that comes with WordPress zip package, it asks for the privacy settings during the setup. I guess simpler is not always the better.

Some ways to check your websites heath.

1. Check if your site is properly cached in the search engine: For Google Search, you can use special search command “site:” to find out if your website is properly indexed with the Google. (Eg. “site:wpmarketing.org”) If you searched your domain with “site:” prefix and no results came out, you should suspect and check your robots.txt

2. Check your robots.txt file : WordPress automatically generates ‘robots.txt’ when Permalink is on. It’s not an actual physical file, but WordPress is dynamically generating when requested. You can view the file by typing ‘robots.txt’ (Eg. http://wpmarketing.org/robots.txt )  Below example shows a sample robots.txt file content which is opened to Search Engines. Note that there is nothing showing right after “Disallow:” which is OK. If there is slash ‘/’ character showing after “Disallow:”, It means to disallow all content from being indexed by Search Engine. So watch out.

Good – Opened to Search Engine

User-agent: *
Disallow:

Bad – Blocking Search Engine Request

User-agent: *
Disallow: /

3. Use Google’s webmaster tool to diagnose your sites health: Apply for the Google’s webmaster tools and monitor your website. It shows current status or errors occurred during indexing or crawling your website. So you can easily find out where the problem is.

This is very important and you should be aware if you are starting a new website for internet marketing otherwise your website won’t be getting any traffic from search engines.

]]>
http://wpmarketing.org/2009/09/fantastico-wordpress-installation-and-wordpress-privacy-settings/feed/ 0