Static redirect on windows?

0

So I want to create a static redirect - or: a local domain.

What I want to type in my browser

http://plex.home/

It's not necessary to have a fake TLD - i.e. .net would be okay too

Where I want to get

http://192.168.178.2:32400/manage/index.html


What solutions are there to get this working on a windows computer?

I guess setting up a custom DNS server would be the most efficient way (especially for mobile devices etc). But for now this is not a solution.

Brettetete

Posted 2015-01-03T20:02:14.977

Reputation: 2 057

So, now that the URL is fixed, the problem is the port. If you connect to http://plex.home, it’s actually port 80. Would it be possible to run an additional web server on your Plex box? What kind of system is it anyway? – Daniel B – 2015-01-04T11:34:54.540

Answers

3

Try your C:/Windows/System32/etc/hosts file to configure a redirect from plex.home to 192.168.178.2, configure a redirect on the 192.168.178.2 server to the folder you want.

Pieter De Clercq

Posted 2015-01-03T20:02:14.977

Reputation: 149

Out of curiosity could you detail how to (for a windows server or a win7/8 machine running a server) you could create the redirect to the desired folder? I understand modifying the hosts file, but am not certain about what you do next. Thanks! – Abraxas – 2015-01-03T20:45:07.783

2@Abraxas some low-resource web server . ie. lighttpd on nix. actually some python script could be enough - IIS on Windows would be way to OP ;-) – Brettetete – 2015-01-03T22:41:50.507