#1  
Old 3rd February 2007, 20:42
unkn0wn unkn0wn is offline
Senior Member
 
Join Date: Mar 2006
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
Default domain problem

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?
Reply With Quote
Sponsored Links
  #2  
Old 4th February 2007, 12:29
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

You need to make sitename.com a co-domain of www.sitename.com
Reply With Quote
  #3  
Old 4th February 2007, 18:14
unkn0wn unkn0wn is offline
Senior Member
 
Join Date: Mar 2006
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hmm i dont understand well that.
Can u explain me what to config in BIND for that?
Reply With Quote
  #4  
Old 4th February 2007, 23:12
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

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.
Reply With Quote
  #5  
Old 5th February 2007, 18:07
unkn0wn unkn0wn is offline
Senior Member
 
Join Date: Mar 2006
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
Default

$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?
Reply With Quote
  #6  
Old 5th February 2007, 19:04
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

Quote:
mysite.net. . 14400 IN A 11.11.11.11
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
Reply With Quote
  #7  
Old 6th February 2007, 12:59
unkn0wn unkn0wn is offline
Senior Member
 
Join Date: Mar 2006
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?
Reply With Quote
  #8  
Old 6th February 2007, 13:14
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
 
Default

I think you fixed it by now, as using dig on the domains you mention both have valid A records to the same IP.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Problem with Domain and Statistic thgenzel General 1 18th January 2007 07:45
Problem deleting a DOMAIN/WEB/DNS-entry from Server pinz0 General 12 1st October 2006 20:53
Problem with domain dedicated serv Grego General 1 6th September 2006 10:54
Problem with virual domain MarcoV General 4 20th November 2005 18:56


All times are GMT +2. The time now is 16:09.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.