Is there a way to redirect the main domain, without redirecting it's subdirectory?
E.g. I want to redirect: https://domain1.com --> https://domain2.com But I do NOT want to redirect it's subdirectory: https//domain1.com/sub
Is there a way to do this in DirectAdmin, or in .htaccess in main directory on Apache shared server?