Trying to redirect a URL on one webserver on my LAN to another webserver on my LAN. I assumed that all I needed was a .htaccess file in my /var/www directory whose contents are the following 3 lines only:
RewriteMatch newsite\.level2\.level1\.com http://192.168.0.250:8080
Also I created a symbolic link in folder /etc/apache2/mods-enabled to /etc/apache2/mods-available/rewrite.load
1st: When I enter "newsite.level2.level1.com" in browser I end up at "level2.level1.com"
2nd: Does RewriteMatch support ports appended to the new URL
Should mention that level2.level1.com is thru DynDns.org as I have Comcast and the function to allow *.level2.level1.com is enabled
Thanks for looking,