WordPress Can’t Update Plugins

December 16th, 2012 admin Posted in hosting Comments Off on WordPress Can’t Update Plugins

If your get the error while updating your wordpress installation or plugins: “To perform the requested action, WordPress needs to access your web server” and want to avoid using FTP method read below.
You can fix this issue by following steps.
At first check what user is running the wordpress. Create file named check.php and upload it to the root directory (where index.php is located). In the file check.php paste this code:

<?php echo(exec(“whoami”)); ?>

Then view this file in your browser. If it shows for example “testuser” and in the ftp manager you see all files are owned by ” apache” then you should change the permissions of all wordpress files to “testuser”

There are many ways to change permission, one way is to use Webmin File Manager (if you control the server), another is to use any ftp program or control panel provided by your hosting. Below is a screenshot of how to change Wordress file permissions in Webmin.

The problem is when you change file and folders ownership that way all permissions are duplicated and files inherit 755 permission from folder settings.

Correct wordpress files permissions are 644 for all files and 755 for all folders (few exceptions might be with uploads folder)

You probably don’t think we have to change all file permissions from 755 to 644 by hand? :)

Of course not. Head to the Command shell to execute few lines of code: Read the rest of this entry »


How To Disable Dns Recursive Queries in Bind

July 1st, 2010 admin Posted in hosting Comments Off on How To Disable Dns Recursive Queries in Bind

If you check your site DNS parameters with intodns.com and see error with Recursive Queries that says:

I could use the nameservers listed below to performe recursive queries. It may be that I am wrong but the chances of that are low. You should not have nameservers that allow recursive queries as this will allow almost anyone to use your nameservers and can cause problems. Problem record(s) are:

If you have your own VPS and Bind installed you can fix this issue by doing those steps:

  1. Login to your webmin and go to Servers->BIND DNS Server
  2. Select Miscellaneous options and there tick “Do full recursive lookups for clients?” to NO
  3. Apply configuration or just restart Bind for changes to take effect

You can also disable recursive queries by manually editing /etc/named.conf file, just put directive “recursion no;” without quotes in options part:

Restart Bind server and reload intodns.com to check your site again and see that now it is correct.


Yahoo Geocities Gone Crazy

August 5th, 2009 admin Posted in hosting Comments Off on Yahoo Geocities Gone Crazy

Recently I got email from them telling that Geocities closing date is October 26, 2009. Although I’m not using their servic anymore for a long time they still sent me an email informing about these changes. However, you may download your files this way [excerpt from Yahoo email]:

“To quickly download your published files, visit your GeoCities web site, right-click on each page, and choose Save Page As… from the menu that appears. Choose a location on your computer to save your files, then click OK or Save.”

Anyone familiar with hosting would laugh reading this suggestion. Seriously, I can’t imagine who was so smart enough to come up with this idea of back up a website. If you’re looking for really outstanding hosting provider, check this one.


Launching A New Website

April 4th, 2009 admin Posted in hosting Comments Off on Launching A New Website

apollo11 If you are building new websites, like setting up new blogs, you probably don’t want to show Google or other visitors it before everything (templates, links, descriptions, meta tags, etc.) is completely set up.

For example, when you install WordPress, there is a default Hello World post displayed on the front page and Google also indexes your important login page. This is all the stuff you don’t need to show to anyone. Read the rest of this entry »


Hostgators Web Hosting Overview

November 12th, 2008 admin Posted in hosting Comments Off on Hostgators Web Hosting Overview

 Just a simple Hostgator’s hosting overview before you decide which hosting company to choose.

How your site works

Your web site is made up of a group of files and directories, much like your Documents folder on your home computer. Only in this case, everyone in the world can see some of your files. To give you an idea of how the directories and files work, we’ll look at a view of the file manager.

 

Contents of /home/user/.

 

Above, you can see an example of the files and directories in your site. There are three main directories to be concerned with: Read the rest of this entry »