[Solved] DNS settings with www and without


 
Thread Tools Search this Thread
Special Forums IP Networking [Solved] DNS settings with www and without
# 1  
Old 11-02-2010
[Solved] DNS settings with www and without

I'm no DNS expert, and I'm hoping someone would be able to help me with this issue I'm facing.

I have a set of links in the following schema:

Code:
http://somedomain.com/xyz
http://somedomain.com/abc
http://somedomain.com/123

and they are pointing to content at:

Code:
http://www.somedomain.com/xyz
http://www.somedomain.com/abc
http://www.somedomain.com/123

but the top link fails to reach the correct content.

As it stands the DNS configuration looks like:

Code:
@ 3600 NS ns1.namesforyou.com.
@ 3600 NS ns2.namesforyou.com.
www 3600 CNAME foo.bar.someotherhost.com.
* 3600 CNAME foo.bar.someotherhost.com.

Any way I'd be able to have these links behave properly without a CNAME root record?

---------- Post updated 11-02-10 at 12:08 PM ---------- Previous update was 11-01-10 at 09:49 PM ----------

Was able to get this solved by sticking an intermediary server that redirects http://somedomain.com/anything to http://www.somedomain.com/anything

Last edited by DeepakS; 11-01-2010 at 11:02 PM..
# 2  
Old 11-02-2010
As far as I can determine the problem has nothing to do with DNS.
It has te do with the configuration of the Webserver that servers the website.
It probably only recognises the www somedomain com domain. An Alias should be added to the webserver configuration that points to the same site.
The exact configuration on the Webserver software is depending on the brand of software, but since this is a Unix forum I guess that the webserver used is Apache. In that case we talk about virtual hosts. If you google for apache domain aliases you'll end up on the Apache page that describes virtual hosts.

Good luck with that!

Martin Vermeer
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

DNS client added to DNS server but not working

Hi, We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies

2. Red Hat

[Solved: Missing A Record] DNS issue

Hi, I have recently built a new DNS server and created a new zone. I use an ESMTP server to handle mail and the new domain has been added to this. I can send mail to gmail and other domain addresses but unable to send it to one particular domain. (DSN:Service Unavailable) DNS... (2 Replies)
Discussion started by: Duffs22
2 Replies

3. Red Hat

DHCP & DNS - Clients get IP but don't register in DNS

I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based. I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies

4. Solaris

Putty : Change default settings (solved)

Hi, I use to work on solaris via putty and always on session start - i use to increase the font to 14 bold - capture session output to a file my requirement) to make these changes permanent, so that i need not to change the settings everytime i connect via putty please advice. ... (0 Replies)
Discussion started by: saurabh84g
0 Replies

5. UNIX for Advanced & Expert Users

DNS server choice: Windows DNS vs Linux BIND

I'd like to get some opnions on choosing DNS server: Windows DNS vs Linux BIND comparrsion: 1) managment, easy of use 2) Security 3) features 4) peformance 5) ?? I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies

6. Solaris

How to obtain DNS Zone transfer settings on Sun OS 5.7

I have an old Sun SparcStation 5 that is running Sun OS 5.7, I'm not sure which commands would allow me to obtain the DNS zone transfer settings? 1.) I'm needing to know if the zone transfers are enabled. 2.) If it is enabled, does it transfer to specific servers 3.) If so, how do I go about... (1 Reply)
Discussion started by: Fhistleb
1 Replies

7. Solaris

DNS settings

Hi all, I'm trying to figure out how DNS settings can be made effective after changing the resolv.conf file. I don't want to shut down and restart, so I'm looking for a possible process that I can stop and start. However, I'm not having any luck finding information to do so. Does anyone know if... (8 Replies)
Discussion started by: bad-ash
8 Replies

8. Solaris

Solaris DNS Client For Microsoft DNS Server

hey guys, how to add soalris box as a microsoft DNS Client ? and how to register in the microsoft DNS ?? i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies

9. IP Networking

Xdmcp, dns, exceed broadcast solved BUT

Ok, when our lan switched to DHCP, and my linux boxes dropped off the network, it is because the DNS wasn't set correctly. Got the DNS set now, and they are showing up in my Exceed XDMCP broadcast box however, i now have another problem. They access the internet. I don't want them to. HOw can I... (3 Replies)
Discussion started by: kymberm
3 Replies
Login or Register to Ask a Question