September 29th in Linux/Unix by pbu .

Sample DNS Zone File for BIND

Sample Zone file for a domain with 2 nameservers ns1.example.com and ns2.example.com for BIND9. You can use this template to define your own nameservers. Just do changes on the domain name and IP addresses.

Be sure to include the below statement in your named.conf
I am assuming that you are running Bind9 or later version in your VPS or dedicated server.

zone “example.com” {
type master;
file “example.com.db”;
}

$TTL 14400
$ORIGIN example.com.

; Specify the primary nameserver ns1.example.com in SOA
@ 14400 IN SOA ns1.example.com. webmaster.example.com. (

September 29th in Internet, Linux/Unix by pbu .

Fast Website Loading with OpenDNS – Alternative to ISPs DNS Servers

When you type a website name in the browser where often the sites dont load fast. You will see in the status bar of the browser “looking up website.com”, which often means the DNS server (resolves hostnames to IP address) is slow causing such a long time to connect to website in your home PC.

If your ISPs DNS server is down which often causes “connection timed out” or host unreachable and this problem may be for for hours until …

September 28th in Linux/Unix by pbu .

how to create new user for phpmyadmin login

PHPMyAdmin and MySQL server complement each other very well. In most situations you have installed mysql server and phpmyadmin.

By default the mysql root password is blank and this is a big security issue and you have change the mysql password as soon as possible. If that is not done anybody could login with phpmyadmin with username root and password blank. You also must avoid to login phpmyadmin with mysql root password. Instead you must create a new user (to …

September 28th in Linux/Unix by pbu .

How to Fix: PHPMyAdmin 403 Forbidden Error

If you have installed phpMyAdmin in your linux server (centos/RHEL/debian), and tried to access phpMyAdmin in most cases you will get this 403 forbidden error. I have seen this issue very often if you are installing phpmyadmin using yum or by apt-get. By default phpmyadmin installed path is /usr/share/phpmyadmin and the apache configuration file is located in /etc/httpd/conf.d/phpmyadmin.conf.

Forbidden
You don’t have permission to access /phpmyadmin/ on this server.

To fix:

nano /etc/httpd/conf.d/phpmyadmin.conf

Remove or comment the first two lines in bold.

#Order Allow,Deny

September 23rd in Linux/Unix by pbu .

Disable anonymous FTP login in cPanel

I have been looking at server logs and there have been a number of connections from different IPs logging in my server. By default anonymous FTP is enabled in cpanel.

Sep 22 19:47:08 server pure-ftpd: (?@x.x.x.x) [INFO] New connection from x.x.x.x
Sep 22 19:47:11 server pure-ftpd: (?@x.x.x.x) [INFO] Anonymous user logged in the virtual FTP: xx.xx.xx.xx
Sep 22 19:47:12 server pure-ftpd: (ftp@x.x.x.x) [INFO] Can’t change directory to /public/: No such file or directory
Sep 22 19:47:12 server pure-ftpd: (ftp@x.x.x.x) [INFO] Can’t change directory to …

September 19th in Money & Finance by pbu .

Paypal view limits missing?

I have been noticing this since this september 2008 and the “view limits” option is missing most PP accounts. Earlier there used to be a cap of $2500 monthly withdrawal limit and this option is missing or entirely disappeard and nowhere to be found for most verified indian paypal accounts.

I wonder how many people have noticed this. I would appreciate if anybody give a feedback if you come across this.

September 19th in Linux/Unix by pbu .

Install Apache Mod_Substitute

I came across interesting module for apache which does automatic search and replacement operations using regular expressions and decided to experiment on it. For information about this module documented in apache website

NOTE: This module is only available in Apache 2.2.7 and later

I was running Centos 5 and unable to load this module in httpd. Here is how i did it. The mod_substitute.so does not come preinstalled under modules so you have to copy the source of mod_substitute.c from the …

September 13th in Design, Internet by pbu .

CSS Tutorial: How to Design Round Corner Boxes

How to design a rounded corner menu boxes in CSS?

Being a beginner in CSS coding, i have always struggled to design round corner
menu boxes in CSS. At last i found a very simple way to to accomplish this with
minimum lines of code in CSS. In this tutorial i am going to show you how to
design a round corner menu box with header. You will need photoshop to slice
images and a CSS editor.

Objectives

To …

September 12th in Design, PHP Scripts by pbu .

How to design 3 Column Website Layout with Top Navigation Menu in CSS

CSS as we go deeper and deeper it gets harder and harder to understand, especially margins, padding and floats could be confusing at times as well. I am going to post here the tutorial to make a very simple CSS website layout (skeleton) with

- Container
- Header
-Top Navigation Menu
- Left Navigation Menu
- Right Navigation menu
- Content Part
- Footer

All elegantly stacked one by one with divs and with css stylesheet. This is a very basic skeleton. The most important css code …

September 10th in General by pbu .

Firefox 3 problem with CSS

i have noticed a weird problem ever since i updated to Firefox3. It tends to show certain websites a bit stretched and the CSS div float behaves abnormally by stretching div or shrinking them.

i believe the div float is the problem. With the previous versions of firefox this problem seems to be bit unnoticeable.

I just couldnt explain this abnormal behavior more than this.

 Page 1 of 2  1  2 »