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?
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: Code: domain.tld. A nn.nn.nn.nn Watch the last dot behind the tld. It has to be there.
$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?
Looks different from what I used to do. Do you get a valid/expected answer section when you do Code: dig @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
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?
I think you fixed it by now, as using dig on the domains you mention both have valid A records to the same IP.