If your current domain registrar is not providing you with the service you need you should consider transferring your domain name to another company. Domain registrars like namecheap will add an extra year to your domain name if you transfer it to them. Transfering a domain name is easy once you know how.
website administration
Reduce CPU load with Alternative PHP Cache
PHP is by far the most popular scripting language for dynamic web pages but it is not the most efficient language. Each time a PHP page is accessed it has to be:
- Parsed by the interpreter
- Converted into intermediary format called opcode
- Converted into machine code for your server’s CPU to execute it
If the same script is accessed 100 times these steps are repeated a 100 times. To avoid this repetition and waste of server resources you can use the Alternative PHP Cache or APC.
APC is a PECL extension that caches frequently accessed PHP files code in opcode format for faster execution thereby reducing CPU load on your web server. In this guide I write about how to install and configure APC.
Squid reverse proxy Apache on centos 4.5
I have a centos 4.5 powered VPS that was running out of memory at peak times and so I decided to take a look at using squid to reverse proxy apache. When squid is used as a reverse proxy all http requests are proxied through squid to apache. The advantage of this setup is:
Yes WWW! No WWW!
Most websites on the Internet can be accessed using both just their domain name and the www subdomain and domain name. For ex: www.example.com and example.com may lead to the same website. Some search engines consider the www version and the non-www version to be seperate websites and assign different Search Engine Results Page (SERP) positions and or page rank to them. This often results in a split page rank where the non-www and www versions of a site have different page rank. To prevent something like this from happening it helps to canonicalize your website URL. This means that you should select one version as a standard and redirect from the other to it.
Server to Server file transfer script
It is often necessary for a web master to transfer files from one site to another.Whether it be to install open source software or to move a site, the ability to transfer a file directly from one web server to another can be a real time saver.