• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 262
  • Last Modified:

Redirection Name Server DNS Issues


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?

1 Solution
Chris DentPowerShell DeveloperCommented:

Depending a bit on what you mean by redirection... DNS does not do redirection.

That is, DNS cannot take a HTTP request for http://e.example.com and change that to http://g.example.com. That requires a web server (something to answer the HTTP request).

Considering that, you can do what you please with the redirection as long as you have access to the web service performing the redirection. The web server is capable of reading the address and URL used to access a site and redirect accordingly.

Do you have access to the web server? Or is that handled elsewhere?


Featured Post

What Security Threats Are We Predicting for 2018?

Cryptocurrency, IoT botnets, MFA, and more! Hackers are already planning their next big attacks for 2018. Learn what you might face, and how to defend against it with our 2018 security predictions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now