dd-wrt

DD-WRT to redirect incoming traffic to a home Plex server


I am not sure if this is possible, however I have domain with DNS only pointing to my home boarder router. I have setup port forwarding from port 80 to port 32400 of a windows computer running Plex media server.

Currently I have to connect via mydomain.com/web/index.html, I can not change this through Plex, so I was wondering if I can setup my DD-wrt router to redirect mydomain.com connections to mydomain.com/web/index.html?

I have looked into DNSmasq but I think that only works locally. Is there anyway I can achieve this?


Solution

  • Create a .htaccess in your mydomain.com/ to redirect all request to mydomain.com/web/index.html

    Just add this line to it:

    Redirect / http://mydomain.com/web/index.html