Locally redirect Domain1.com to Domain2.com/subdir on one computer
- by Werner
I am running a FreeBSD server and I want to redirect a specific website domain to another domain including subdirectory.
I want to bypass that domain to alter the XML results it returns.
I tried the hosts file solution, but that way I can only redirect to an IP address without subdir. So that's no solution.
Is there another way to solve this? Installing something on the server if needed is not a problem. Unless it's a heavy program.