View Full Version : domain problem
unkn0wn
3rd February 2007, 21:42
Hi,
i have problem .
When i type www.mysite.com its all ok but when i type mysite.com
its redirected to my other site hosted on that server.
What is a problem?
martinfst
4th February 2007, 13:29
You need to make sitename.com a co-domain of www.sitename.com
unkn0wn
4th February 2007, 19:14
Hmm i dont understand well that.
Can u explain me what to config in BIND for that?
martinfst
5th February 2007, 00:12
Sorry, I thought you used ISPConfig.
If not, you need to make sure in bind both domain.tld and www.domain.tld point to the same IP address. That implies you create a record like:domain.tld. A nn.nn.nn.nnWatch the last dot behind the tld. It has to be there.
unkn0wn
5th February 2007, 19:07
$TTL 14400
@ 86400 IN SOA ns2.server.net. www.mysite.net. (
2006110511
28800
7200
2419200
86400
)
mysite.net. 86400 IN NS ns1.server.net.
mysite.net. 86400 IN NS ns2.server.net.
mysite.net. . 14400 IN A 11.11.11.11
localhost.mysite.net. 14400 IN A 127.0.0.1
mysite.net. IN MX 10 ns1.server.net.
ftp 14400 IN A 11.11.11.12
mail 14400 IN A 11.11.11.11
www 14400 IN A 11.11.11.12
web 14400 IN A 11.11.11.12
ns1 14400 IN A 11.11.11.11
ns2 14400 IN A 11.11.11.12
Whats wrong with this?
martinfst
5th February 2007, 20:04
mysite.net. . 14400 IN A 11.11.11.11Looks different from what I used to do.
Do you get a valid/expected answer section when you dodig @ns1.server.net ANY mysite.net
dig @ns1.server.net ANY www.mysite.net
BTW: In your 1st post you talk about mysite.com and this config describes mysite.net :confused:
unkn0wn
6th February 2007, 13:59
mysite.net and com are just examples not real domain.
when i dig for www.bloodzero.net it shows correct IN A
but bloodzero.net dont show IN A record why that?
martinfst
6th February 2007, 14:14
I think you fixed it by now, as using dig on the domains you mention both have valid A records to the same IP.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.