Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

How can I forward requests for oldcompany.com to newcompany.com/oldcompany page?

We are in the process of transition whereby the olddomain.com content is now on our newcompany.com site with a specific URL. I realise I will need to change the A record to point to our newcompany.com IP address but how do I forward traffic based on the original request to a specific page?

Once a re-direct is in place the oldcompany.com server will be taken down completely.

I was under the impression this could be done with host headers but can't seem to find anything relating to this scenario.

Many thanks

share|improve this question

1 Answer 1

Easiest way is creating a redirect HTML page on the old Server with a minimum timeout. Not that slick but all the work ie done by the client. Look for META REFRESH.

share|improve this answer
Sorry & thanks for replying but I should have mentioned the oldcompany.com server will be discontinued in the near future. [post updated to reflect] –  antny Mar 29 '11 at 17:24
Your DNS should have propagated by then, so that's fine. –  Jonathan Ross Mar 29 '11 at 17:30
Forgive me if I'm misunderstanding here but updating the A record will only point to the new server and so requests for oldcompany.com will go to newcompany.com rather than a specific page will it not? –  antny Mar 29 '11 at 17:35

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.