GAURANGAGG's blog

How to redirect one domain to another without affecting your other DNS records ?

Suppose you are having a domain name ( www.oldwebsite.com ) and now you redirect all the traffic coming to the old website to the new website. If you will simply forward the domain then the DNS records will get messed up and MX records won't be preserved. While the alternative way is to make it happen programmatically. We can use following ways to achieve the desired result : 1. PHP script :

Pages

Moments