Server Fault is a question and answer site for system and network administrators. 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

We have 2 websites, and we would like to be able to include the 2nd site as a part of our first site's URL path for SEO purposes. The example would be: Site 1 =, Site 2 -

The end result is that we would like to setup the networking so that if a user navigates to the URL would persist but show the content of the pages found @

Is this possible, and if show can you describe how this would be done or point me to a URL that describes this procedure.

Why would we want to do this? the main domain we host internally with technology we are capable of supporting. the second domain is using technology we are not will/able to support internally and don't want to go through the cost to redevelop it. We want to leverage the content on the 2nd domain for SEO credit for the first domain.

Thank you.

share|improve this question
Which Webserver do you have ? Root-access to the server? – zaub3r3r Nov 19 '10 at 22:00

You would typically do this by utilizing the reverse-proxy feature of your chosen web server. If you're using Apache, you probably want to read the documentation for mod_proxy:

You're particularly interested in the "ProxyPass" directive. With a typical Apache configuration, you could do what you want by adding something like this to the root of your virtual server configuration:

ProxyPass /domain2/
ProxyPassReverse /domain2/

Many web servers have similar functionality. There are also tools designed specifically for this sort of operation, such as Varnish ( This tutorial covers setting this up with Apache in more detail:

There are some caveats of which you should be aware: absolute links often need massaging in this sort of situation, because a link to /section/article.html on needs to be /domain2/section/article.html on Depending on how your content is served up, you can fix this in your web server by filtering the content, or you can modify you content platform to generate appropriate links.

share|improve this answer

Your Answer


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