[Gllug] CNAME confusion

Ben Fitzgerald ben_m_f at yahoo.co.uk
Sat Apr 3 12:04:20 UTC 2004


On Sat, Apr 03, 2004 at 12:27:03PM +0100, Dylan wrote:
> On Saturday 03 Apr 2004 12:01 pm, Ben Fitzgerald wrote:
> >
<snip>
> > ;; QUESTION SECTION:
> > ;www.mydomain.com.                        IN      A
> >
> > ;; ANSWER SECTION:
> > www.mydomain.com.  20074 IN CNAME www.zen12345.zen.co.uk.
> > www.zen12345.zen.co.uk. 63342 IN A  212.23.8.80
> >
> > It seems I've got this all wrong as when I do browse
> > to www.mydomain.com it doesn't work at all!
> >
> > Can any DNS gurus (or intermediate are even better than
> > me!) show me the light?
> 
> Well, I'm not a dns guru, but I think you should consider this:
> 
> Zen's web server will have many many domains hosted, so the IP in the 
> answer section is NOT exclusive to you. When 212.23.8.80 gets a HTTP 
> connection from you browser looking for www.mydomain.com it will check 
> to see if it's a domain it knows about. It doesn't - because the domain 
> is hosted by Pipex, so the connection is either rejected or returns an 
> error.

Hmm. I'm sure you an the OP are correct about virtual hosts.

So, I can either redirect from pipex to the zen address or
somehow try to get the zen server to recognize the www.mydomain.com
as valid (I think the second one is unlikely).

Thanks for responding to this, it's helped...

Ben
> 
> Upshot - I don't think you can do it this way. What you need is web site 
> redirection. Pipex may provide this as a service, or you might have to 
> set it up for yourself on the Pipex webspace associated with 
> www.mydomain.com
> 
> HTH
> 
> Dylan
> 
> -- 
> "I see your Schwartz is as big as mine" 
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? -Big Helmet
> -- 
> Gllug mailing list  -  Gllug at gllug.org.uk
> http://lists.gllug.org.uk/mailman/listinfo/gllug
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list