Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How to point a domain to another subdomain?

Is it possible to set up a subdomain to render content of another server?

Let's say I wanted google.domain.com to render google.com (for example). Is this a matter of setting up a CNAME? Mod-Rewrite? How could I point it to another server?

I suppose it's similar to how wordpress.com allows their bloggers to use their own domain when on their hosted service. But I'm not sure how they accomplish this in the background.

We can't do iframes. And we've seen another example of someone using the same API to render the remotely hosted site on their own domain.

share|improve this question

migrated from stackoverflow.com Sep 14 '11 at 11:06

This question came from our site for professional and enthusiast programmers.

marked as duplicate by John Conde Sep 14 '11 at 12:13

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

CNAME works just fine. So long as the target site sets up a ServerAlias to accommodate.

share|improve this answer

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