Connecting Tech Pros Worldwide Forums | Help | Site Map

Linux DNS(Bind9)

sashi's Avatar
Expert
 
Join Date: Jun 2006
Location: Seremban, Malaysia
Posts: 1,630
#1: Jun 22 '06
Hi everyone,

need help regarding DNS::Bind9 configuration, below is the copy of my forward zone file,

$TTL 3D
@ IN SOA ns.xyz.com.my. admin.xyz.com.my. (
200604045
3600
3600
3600
3600 )

NS www ; Inet Address of nameserver
xyz.com.my. MX 10 mail ; Primary Mail Exchanger

localhost A 127.0.0.1
pzns-master A 1.2.3.4

ns CNAME xyz-master
www CNAME xyz-master
mail CNAME xyz-master

status CNAME xyz-master
mrtg CNAME xyz-master
mysql CNAME xyz-master

webmin CNAME xyz-master
usermin CNAME xyz-master
. IN CNAME xyz-master


the problem is.. am unable to browse my site without including "www" at begining of the domain name.. can anyone help me to sort this problem.. thanks in advance..

thurban's Avatar
Newbie
 
Join Date: Sep 2006
Posts: 6
#2: Sep 12 '06

re: Linux DNS(Bind9)


This seems to be more of a Apache configuration problem. try putting the following into your Apache httpd.conf :

ServerName domain.com
ServerAlias www.domain.com
sashi's Avatar
Expert
 
Join Date: Jun 2006
Location: Seremban, Malaysia
Posts: 1,630
#3: Nov 21 '06

re: Linux DNS(Bind9)


Quote:

Originally Posted by thurban

This seems to be more of a Apache configuration problem. try putting the following into your Apache httpd.conf :

ServerName domain.com
ServerAlias www.domain.com

Hi there,

Thanks for the reply. Guess what?? I modified Apache httpd.conf as instructed, still nothing happens.
Reply