Forum Moderators: phranque
I tried to search on this but I'm not even sure what to search!
I have a domain called (http://ABC.com). It is hosted by hostingA
I have a blog on a subdomain (http://blog.XYZ.com) It is hosted by hostingZ
I have [blog.ABC.com...] forwarded to [blog.XYZ.com...] . I did this by adding the CNAME "blog.XYZ.com." (without quotes and with trailing .) to ABC.com
So far everything works.
Here the problem. When I go to [blog.ABC.com...] it NOW displays [blog.XYZ.com...]
I WANT it to display [blog.ABC.com...] so that it is seen as part of ABC.com NOT XYZ.com
Does that make sense?
More importantly, how is it done?
Thanks in advance,
Ed
Pluses:
Bottom line is that it would be far simpler to upgrade the ABC server to handle the blog traffic as well, unless you've already got a top-of-the line dedicated server and it can't keep up with the traffic to both domains.
Alternately, consider putting the blog on a subdomain of ABC, i.e. blog.abc.com. A simple DNS "A record" can then point requests for the subdomain to a different server (using its IP address).
If you wish to use a proxy, see Apache mod_proxy for reverse-proxy setup, or mod_rewrite for the proxy throughput option on RewriteRule.
Jim
[edited by: jdMorgan at 8:28 pm (utc) on Jan. 18, 2008]