I host a website that will be moving to a different domain that is hosted on a new server. The new domain is subdomain.newdomain.com.
The site is currently hosted at currentsite.com on my servers. I will continue to host mail on my host at mail.currentsite.com.
My servers are authoritative for currentsite.com.
I want to modify the zone record in the currentsite.com.hosts file so that all website traffic (with and without www subdomain) redirects to subdomain.newdomain.com. In other words:
- www.currentsite.com should redirect to subdomain.newdomain.com
- currentsite.com should also redirect to subdomain.newdomain.com
- mail.currentsite.com remains at current host
Is it possible to do this? Or do I have to rely on apache to redirect website traffic to subdomain.newdomain.com?