Hi -
I have my app engine app running on
www.a.com with the normal cname
configuration. I want to map someone else's
c.b.com to my
www.a.com or
c.a.com using a cname (with their permission). The end result should
be that
c.b.com renders the exact same content that
www.a.com renders
(though presumably it is possible to detect the host name and
customize the content).
I have tried both of these cname mappings:
c ->
www.a.com
c ->
c.a.com (I have configured
c.a.com and verified that it works)
After waiting a bit for the DNS to go through, I get a 404 "server not
found" as demonstrated below. I interpret this to mean the request has
reached google (the IP address matches that of
www.a.com), but google
doesn't know what to do with the request since all it has is the
original host name.
Is there any way around this problem other than an iframe or redirect
on
c.b.com?
Thanks in advance for your help,
Adam
$ curl -v
http://c.b.com
* About to connect() to
c.b.com port 80 (#0)
* Trying 74.125.53.121... connected
* Connected to
c.b.com (74.125.53.121) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3
> Host:
c.b.com
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Date: Fri, 03 Jul 2009 06:52:42 GMT
< Expires: Fri, 03 Jul 2009 06:52:42 GMT
< Cache-Control: private, max-age=0
< X-Content-Type-Options: nosniff
< Content-Length: 142
< Server: GFE/2.0
< Content-Type: text/html
<
<HTML>
<HEAD>
<TITLE>404</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Server Not Found</H1>
<H2>Error 404</H2>
</BODY>
</HTML>