How do I redirect a URL to another URL in the hosts file, rather than redirecting an IP to a URL? -


Instead of redirecting an IP to an IP, how do I redirect a URL to the host file?

You can not make DNS (or host files) to see IP addresses for the given host name Gives convenience. There is no concept of retrieving the URL at this level of networking. It needs to be done in your web server configuration.


Comments