Blog

Installing Dnsmasq for wildcard local domains on Debian

Install sudo apt-get install dnsmasq Configure sudo vim /etc/dnsmasq.conf Add this: address=/example.com/127.0.0.1 listen-address=127.0.0.1 This maps *.example.com to 127.0.0.1 – replace with the domain you want to use. It also makes dnsmasq only respond to local requests for security – this is optional. Restart to load the new configuration: sudo /etc/init.d/dnsmasq restart Test it: nslookup abc.example.com 127.0.0.1 It should say something like:… Continue reading Installing Dnsmasq for wildcard local domains on Debian

Blog

Installing PHP 5.2 FastCGI on a cPanel server (alongside PHP 5.3+)

This is based on my instructions for Debian and a bit from this forum post. It requires root access and you must be comfortable using the command line. Compile Apache with FastCGI support First, go to Web Host Manager > Software > EasyApache and make sure Apache is compiled with “Mod FCGID (fastcgi support)” enabled in the Exhaustive… Continue reading Installing PHP 5.2 FastCGI on a cPanel server (alongside PHP 5.3+)