I’ve redirected my domain http://domain1.com to http://domain2.com using a 301 redirect.
Now i would like to redirect subdomain.domain1.com to domain2.com/folder when the user arrives on that url.
Can I do this in dns? Or in some other way?
Thank you for your help!
You can not do this with DNS. DNS is used to map domain names to IP address(es). It can not resolve a domain to a specific URI.