I'm trying to get server.mydomain.dx.am to point to a game server I have. So it would point to IP:PORT
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.)?xyz\.abc\.dx\.am
RewriteRule (.*) ht
tp://000.000.000.000:5569/$1 [R=301,L]
This is what I have so far. OF course IP and Port are not the real ones. Unfortunately it does not work, as I expected it to. I'm quite out of my depth when it comes to htaccess coding. Especially as I have never done it before. Any help would be much appreciated, and if you could, please explain why it works like it does? I like learning why things work the way they do, thanks!
[edited by: Ocean10000 at 2:52 am (utc) on Sep 23, 2015]
[edit reason] broke unintenial links [/edit]