Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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.

1 Answer 1

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.