DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old April 3rd, 2008, 12:59 PM
cualquiera cualquiera is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 5 cualquiera User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 17 sec
Reputation Power: 0
DNS Zone File Config

HI

With my current zone file configuration I can reach www, mydomain,com but I cant access just mydomain,com, what changes I need to do in order to get it to work?

Thanks!

P.D. Sorry about the , but new user accounts are not permitted to create posts containing URLs. hehe

Reply With Quote
  #2  
Old April 3rd, 2008, 03:29 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Click here for more information.
 
Join Date: Jan 2005
Location: Florida
Posts: 2,596 hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)  Folding Points: 27176 Folding Title: Starter FolderFolding Points: 27176 Folding Title: Starter Folder
Time spent in forums: 1 Month 1 Week 1 Day 5 h 37 m 8 sec
Reputation Power: 1166
Quote:
Originally Posted by cualquiera
HI

With my current zone file configuration I can reach www, mydomain,com but I cant access just mydomain,com, what changes I need to do in order to get it to work?

Thanks!

P.D. Sorry about the , but new user accounts are not permitted to create posts containing URLs. hehe


Welcome to Dev Shed.

This actually may be a web server config issue. In your zone file, you need to make sure there are entries for
domain.com.
www.domain.com.

Or, you can use wildcard entries as well.

What web server are you running?

When you access the site via domain.com, what message do you get?

What OS are you running?

Reply With Quote
  #3  
Old April 4th, 2008, 12:24 PM
cualquiera cualquiera is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 5 cualquiera User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 17 sec
Reputation Power: 0
Hi Thanks for the welcome

Well as you said, there are entries for domain,com and www,domain,com.

The message is Page not found, in fact if I ping the host domain,com it doesnt respond at all.

Im running solaris 9 with apache2

Thanks!

Reply With Quote
  #4  
Old April 4th, 2008, 10:29 PM
PWD's Avatar
PWD PWD is offline
Untreated PHP Addict
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2004
Location: 127.0.0.1
Posts: 627 PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 2 h 51 m 52 sec
Reputation Power: 134
DISREGARD POST
__________________
PWD
MCSA, MCP, Security+

NEW Windows Administration Forum
Admin Source
Could REALLY, REALLY, REALLY use you and your issues!

Last edited by PWD : April 4th, 2008 at 10:42 PM.

Reply With Quote
  #5  
Old April 4th, 2008, 10:48 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Click here for more information.
 
Join Date: Jan 2005
Location: Florida
Posts: 2,596 hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)  Folding Points: 27176 Folding Title: Starter FolderFolding Points: 27176 Folding Title: Starter Folder
Time spent in forums: 1 Month 1 Week 1 Day 5 h 37 m 8 sec
Reputation Power: 1166
Quote:
Originally Posted by cualquiera
Hi Thanks for the welcome

Well as you said, there are entries for domain,com and www,domain,com.

The message is Page not found, in fact if I ping the host domain,com it doesnt respond at all.

Im running solaris 9 with apache2

Thanks!


Is this a dedicated server, or an in-house server?

Not being able to ping doesn't always mean anything... ICMP requests are blocked a lot of the time by default on routers.
Are the ping requests being sent from within the network, or external to the network? (This question applies if this server is at your location as opposed to a dedicated server)

Also, once you get to 5 posts, PM me your domain so I can make sure everything is fine there.

Reply With Quote
  #6  
Old April 5th, 2008, 01:35 PM
cualquiera cualquiera is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 5 cualquiera User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 17 sec
Reputation Power: 0
Quote:
Originally Posted by hiker
Is this a dedicated server, or an in-house server?

Not being able to ping doesn't always mean anything... ICMP requests are blocked a lot of the time by default on routers.
Are the ping requests being sent from within the network, or external to the network? (This question applies if this server is at your location as opposed to a dedicated server)

Also, once you get to 5 posts, PM me your domain so I can make sure everything is fine there.


Its a dedicated server, in fact there are 5 domains hosted there but have the same problem.

I already modify the DomainAlias in apache but it still dont work :S

Reply With Quote
  #7  
Old April 5th, 2008, 04:10 PM
seaneur seaneur is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 3 seaneur User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m 4 sec
Reputation Power: 0
create an ALias record

create an ALias record in your dns directory db , name it www and point it to your webserver !

Reply With Quote
  #8  
Old April 5th, 2008, 09:21 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Click here for more information.
 
Join Date: Jan 2005
Location: Florida
Posts: 2,596 hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)  Folding Points: 27176 Folding Title: Starter FolderFolding Points: 27176 Folding Title: Starter Folder
Time spent in forums: 1 Month 1 Week 1 Day 5 h 37 m 8 sec
Reputation Power: 1166
Quote:
Originally Posted by cualquiera
Its a dedicated server, in fact there are 5 domains hosted there but have the same problem.

I already modify the DomainAlias in apache but it still dont work :S


Can you paste the virtual host container for 1 of the domains. (You'll need to edit out any website info as you're still a new user).

Also if you can paste your zone file for one of the domains. Just replace the actual domain with something else (domain.com for example).

Reply With Quote
  #9  
Old April 7th, 2008, 09:45 AM
cualquiera cualquiera is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 5 cualquiera User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 17 sec
Reputation Power: 0
Quote:
Originally Posted by hiker
Can you paste the virtual host container for 1 of the domains. (You'll need to edit out any website info as you're still a new user).

Also if you can paste your zone file for one of the domains. Just replace the actual domain with something else (domain.com for example).


Hi

This is the Virtual Host conatainer:

$TTL 86400
@ IN SOA server1,domain,com. root,domain,com. (
181120061 ; Serial
10800 ; Refresh C/3 Hours
3600 ; Retry C/1 Hour
604800 ; Expire C/1 Week
86400) ; Minimum C/24 Hours
NS ns,domain2,com.
NS server1.domain,com.
MX 10 server2,domain,com.
; MX 20 server1,domain,com.
localhost IN A 127.0.0.1
loopback IN CNAME localhost
loghost IN CNAME localhost
; DOmain Alias ************************************************************
****
www IN CNAME server1,domain,com.
smtp IN CNAME server1,domain,com.
smtp3 IN CNAME server1,domain,com.
pop3 IN CNAME server1,domain,com.
pop IN CNAME server1,domain,com.
imap IN CNAME server1,domain,com.
correo IN CNAME server1,domain,com.
mail IN CNAME server1,domain,com.
webmail IN CNAME server1,domain,com.
mailhost IN CNAME server1,domain,com.

And The Zone File

zone "domain,com" IN {
type master;
file "domain,com";
allow-transfer {
servers;
};
allow-update {
none;
};
// allow-query {
// none;
// };
};

Thanks!

Reply With Quote
  #10  
Old April 7th, 2008, 05:48 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Click here for more information.
 
Join Date: Jan 2005
Location: Florida
Posts: 2,596 hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)  Folding Points: 27176 Folding Title: Starter FolderFolding Points: 27176 Folding Title: Starter Folder
Time spent in forums: 1 Month 1 Week 1 Day 5 h 37 m 8 sec
Reputation Power: 1166
Alright... I'm going to have you change your DNS around:
1) I'm going to have you get rid of the CNAME's
2) I'm going to get rid of the localhost designations

Who set up your DNS previously?

Also, go ahead and back up your DNS before I give you any changes to make.

Also, after you respond to this post, you should be at 5 posts so you should be able to PM. Go ahead and PM me one of your domain names after you respond.

Reply With Quote
  #11  
Old April 7th, 2008, 07:34 PM
cualquiera cualquiera is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 5 cualquiera User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 17 sec
Reputation Power: 0
Quote:
Originally Posted by hiker
Alright... I'm going to have you change your DNS around:
1) I'm going to have you get rid of the CNAME's
2) I'm going to get rid of the localhost designations

Who set up your DNS previously?

Also, go ahead and back up your DNS before I give you any changes to make.

Also, after you respond to this post, you should be at 5 posts so you should be able to PM. Go ahead and PM me one of your domain names after you respond.


Well yes i stup the current DNS, I have currently a backup of all zone/config files.

I'm PM you with the info that you requested.

Edit: I was unable to send you a PM, could you give me an email adrress to send it to you? thanks!

Reply With Quote
  #12  
Old April 7th, 2008, 07:46 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Click here for more information.
 
Join Date: Jan 2005
Location: Florida
Posts: 2,596 hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)  Folding Points: 27176 Folding Title: Starter FolderFolding Points: 27176 Folding Title: Starter Folder
Time spent in forums: 1 Month 1 Week 1 Day 5 h 37 m 8 sec
Reputation Power: 1166
I have sent you a PM with my email address. It's never a good idea to post your email address in an open forum.

Reply With Quote
  #13  
Old April 8th, 2008, 10:28 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Click here for more information.
 
Join Date: Jan 2005
Location: Florida
Posts: 2,596 hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)  Folding Points: 27176 Folding Title: Starter FolderFolding Points: 27176 Folding Title: Starter Folder
Time spent in forums: 1 Month 1 Week 1 Day 5 h 37 m 8 sec
Reputation Power: 1166
Change this:
Quote:
Originally Posted by cualquiera
$TTL 86400
@ IN SOA server1,domain,com. root,domain,com. (
181120061 ; Serial
10800 ; Refresh C/3 Hours
3600 ; Retry C/1 Hour
604800 ; Expire C/1 Week
86400) ; Minimum C/24 Hours
NS ns,domain2,com.
NS server1.domain,com.
MX 10 server2,domain,com.
; MX 20 server1,domain,com.
localhost IN A 127.0.0.1
loopback IN CNAME localhost
loghost IN CNAME localhost
; DOmain Alias ************************************************************
****
www IN CNAME server1,domain,com.
smtp IN CNAME server1,domain,com.
smtp3 IN CNAME server1,domain,com.
pop3 IN CNAME server1,domain,com.
pop IN CNAME server1,domain,com.
imap IN CNAME server1,domain,com.
correo IN CNAME server1,domain,com.
mail IN CNAME server1,domain,com.
webmail IN CNAME server1,domain,com.
mailhost IN CNAME server1,domain,com.


to:
Quote:
$TTL 86400
@ IN SOA server1,domain,com. root,domain,com. (
181120061 ; Serial
10800 ; Refresh C/3 Hours
3600 ; Retry C/1 Hour
604800 ; Expire C/1 Week
86400) ; Minimum C/24 Hours
domain.com. IN A xxx.xxx.xxx.xxx
www.domain.com. IN A xxx.xxx.xxx.xxx
smtp.domain.com. IN A xxx.xxx.xxx.xxx
smtp3.domain.com. IN A xxx.xxx.xxx.xxx
pop3.domain.com. IN A xxx.xxx.xxx.xxx
pop.domain.com. IN A xxx.xxx.xxx.xxx
imap.domain.com. IN A xxx.xxx.xxx.xxx
correo.domain.com. IN A xxx.xxx.xxx.xxx
mail.domain.com. IN A xxx.xxx.x