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

I have two domains bought at different providers and I would like to show

Is this possible using only DNS? Must I transfer the domain to my hosting provider? I really don't want to use a redirection or iframe.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

i think this could be done using some rewrite-rules.


you could set the A records for the domains to the same server, then check what is coming in and rewite it...

see for apache: there is also one for IIS

update: on shared-hosting environments .htaccess is more likely the place where this could be set.


share|improve this answer

I think people typically use Reverse Proxies in this case. For example you can set up any request for: to serve the content from  

You can read more about this on Apachetutor Reverse Proxies

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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