Currently e.example.com web server is constructed on g.example.com server.
Redirection from g to e is done by the name server level.
Also, aa.ab.ac.com is directed to e.example.com and this is also by name server level.
Is it possible to do redirection from e.example.com and aa.ab.ac.com to different web servers?
e.example.com needs to be redirected to newdomain.com while e.example.com/labs needs to be redirected to local server g.example.com. Is this possible? If so, how?