Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Can you please help me understand how this particular functionality works:

I have a domain: example.com, it's registered with GoDaddy. its nameservers are set to linode: ie. ns1.linode.com, ns2.linode.com But at the same time, I can setup a subdomain redirect on GoDaddy and it works. So, I can create a 301 redirect from www. -> non www.

Can you please tell me how GoDaddy can do this?

share|improve this question
3  
If you post the domain name, we might be able to tell you. There's not enough detail here to go on. –  Bill Weiss Nov 17 '09 at 17:13
add comment

3 Answers

Just because your DNS is hosted by dyndns doesn't mean that GoDaddy isn't doing the web hosting. So you can tell your GoDaddy webhosting to perform the 301 redirect as long as the DNS records for www are pointing at GoDaddy's web servers.

share|improve this answer
    
Nameservers for this domain are pointing to Linode(ie. ns1.linode.com, ns2.linode.com) Godaddy is not hosting anything, except being the domain registrar. –  tarasm Nov 17 '09 at 16:26
    
And who hosts the Web server? –  bortzmeyer Nov 19 '09 at 8:44
    
@bortzmeyer: Precisely. @tarasm: What is the domain name, so we can investigate this for ourselves? –  womble Nov 19 '09 at 9:43
add comment

All sounds a little confused. From what I can interpret, from the GoDaddy domain manager you are able to cause www.example.com to 301 redirect to example.com.

I'm fairly familiar with the GD domain manager and I don't recall this functionality. I would guess that:

  1. Your 301 redirect is coming from the site's hosting (.htaccess or whatever) rather than the domain hosting.
  2. One of GoDaddy's domain forwarding features is at play, in which case there is a misconfiguration.
share|improve this answer
add comment

301 Redirects are handled at the client-side. So when you redirect to something, no matter where it is hosted, the client will do the name lookup and go to wherever that resolves.

share|improve this answer
    
@Alex, I understand how 301 Redirect works. I'm trying to understand: "How the registrar has ability to setup a 301 Redirect, even though the DNS records are hosted on a completely different server and company." –  tarasm Nov 17 '09 at 17:30
    
Perhaps I am misunderstanding the question. It doesn't matter who owns the name. You can 301 redirect to anything. –  Alex Nov 17 '09 at 17:44
    
Yeah, that's not what I'm asking. I want to know how technically it works. What specific technology or aspect of networking functionality is giving Godaddy ability to do this. –  tarasm Nov 17 '09 at 18:50
    
@tarasm: The fact that the A record for whatever domain you're talking about is pointing at Godaddy's web servers. –  womble Nov 19 '09 at 9:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.