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.
PLEASE NOTE: I do not own Domain1.com. Else the solution was simple.