-1

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?

User
  • 339
  • 5
  • 16

1 Answers1

0

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
AK_
  • 1,879
  • 4
  • 21
  • 30
  • This may be a silly question but can I do that if I just have a domain with godaddy (DNS only, no hosting)? I thought that .htaccess is an apache thing. Or could I somehow put this file on my router which I guess is some kind of linux server. – User May 16 '14 at 16:20
  • No, you cannot do it if you have no hosting. Where are you files hosted then? – AK_ May 17 '14 at 14:15
  • The videos are hosted on a windows PC, the only problem is that Plex is the web server, and I don't think it is possible to modify how it works. I was mainly concerned that mydomain.com returns an XML file with all my Plex details that I don't want public. Fortunately requests from outside the network are forbidden. As such whilst it would still be nicer to have a shorter URL, it is not really that important. – User May 17 '14 at 16:13
  • look in %LOCALAPPDATA%\Plex Media Server\ – AK_ May 17 '14 at 16:21