|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
Quote:
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? |
|
#3
|
|||
|
|||
|
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! |
|
#4
|
||||
|
||||
|
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. |
|
#5
|
||||
|
||||
|
Quote:
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. |
|
#6
|
|||
|
|||
|
Quote:
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 |
|
#7
|
|||
|
|||
|
create an ALias record
create an ALias record in your dns directory db , name it www and point it to your webserver !
|
|
#8
|
||||
|
||||
|
Quote:
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). |
|
#9
|
|||
|
|||
|
Quote:
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! |
|
#10
|
||||
|
||||
|
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. |
|
#11
|
|||
|
|||
|
Quote:
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! |
|
#12
|
||||
|
||||
|
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.
|
|
#13
|
||||
|
||||
|
Change this: Quote:
to: Quote:
|