Jump to content

Recommended Posts

utah-dave
Posted

Ok. I am running EMBY server on my 2012 R2 box. Works great. But I am starting to host a bunch of my own website with there own DNS domains. I really don't want to dig threw the whole server to find where Emby is keeping its hosting files for the web on the server. I would like to make a subname in my IIS to be www.myserver.com/EMBY . any clues where this is stored on the server so I can do this? Thanks for the help

 

Koleckai Silvestri
Posted

The files are located at %appdata%/MediaBrowser-Server/System/dashboard-ui.

Posted (edited)

Ok. I am running EMBY server on my 2012 R2 box. Works great. But I am starting to host a bunch of my own website with there own DNS domains. I really don't want to dig threw the whole server to find where Emby is keeping its hosting files for the web on the server. I would like to make a subname in my IIS to be www.myserver.com/EMBY . any clues where this is stored on the server so I can do this? Thanks for the help

I use URL Rewriting and Application Request Routing to reverse proxying the site, so it shows up.

 

Basically doing this:

http://web.archive.org/web/20131124023540/http://forum.wegotserved.com/index.php/tutorials/article/98-configure-iis-for-reverse-proxy/

 

However, Emby supports /mediabrowser/ and /emby/ for the URL, so you can use that to easily reverse proxy the site, using:

Condiition:

^(mediabrowser|emby)(.*)

Request:

http://localhost:8096/{R:0}

 

This will allow you to access it via mywebsite.com/emby/ AND mywebsite.com/mediabrowser/

use "^mediabrowser(.*)" or "^emby(.*)" instead, if you just want one or the other.

 

I do this on my own server (using Server 2012R2 Essentials, which has the website preconfigured for other stuff, as well).

https://drashna.net/mediabrowser/

https://drashna.net/emby/

 

This has the advantage of being able to "pipe" the unsecured data over HTTPS without configuring it in Emby/MB3. 

Edited by drashna
pir8radio
Posted

Yea you have to do it like drashna said, emby has some backend stuff going on, you cant just throw the emby html stuff on IIS and expect it to work.   You can use IIS as a reverse proxy to the Emby server..  If you are unfamiliar with a reverse proxy google it.. But basically your IIS server acts like a browser, accesses the Emby server then relays back through IIS..   so Emby stays on your local network, does not need direct internet access, and all of your users think they are using the IIS server... 

 

User <--->IIS<--->Emby

utah-dave
Posted

I don't mind doing what was suggested by drashna. Is there anything I need to do on my end to set that up? Or is the revise proxy the only other way. Either way is fine I just like using the default ports instead of the 8096. I also am using the 2012 r2 essentials for my system.

pir8radio
Posted

the revers proxy is the same thing as drashna suggested..    from the internet IN everything can go over one port..   on the back end it will still use 8096  but your users wont know the difference...    I will PM you so you can check it out on mine.

  • 1 year later...
Posted

Is there a possibility to create a reverse proxy which allows me to use a subdomain (e.g. emby.mydomain.com) to access my server trough the internet?

Could somebody tell me how to do that? Thanks in advance..

pir8radio
Posted

Yes...    Do you already have a domain name? whats on it now?  a web server?

Posted

Thanks for answer.

Yes i have already a domain. Currently im running emby on a Win 2k12 R2 Datacenter, beside plesk theres not much on it rightnow..

pir8radio
Posted

I guess what i'm asking, is that domain you have pointing to your home network already? or off somewhere else, like an external server or something...

 

nginx will have to be a proxy for all of your existing services using the domain...   there are some exceptions, but for the most part....   then it acts as the traffic controller and you can have as many XXXXX.domain.com's as you want...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...