alldigitalmagic 0 Posted November 12, 2018 Posted November 12, 2018 Hi there! I run my Emby installed on Ubuntu Server 16.04 LTS for a few years now. I have a bunch of websites running on the same server using LAMP. My question is, if there is any way to make my Emby pop up under a subdomain (emby.domain.com) using Apache server rather than the IP address with the 8096 port number (XXX.XX.X.XXX:8096)? Thanks!
chowbok 132 Posted November 12, 2018 Posted November 12, 2018 Sure, you can just have Apache proxy it. I haven't tested it, but something like this should work: <VirtualHost emby.example.com> ProxyPass "/" "http://192.168.1.5:8096" </VirtualHost> And then just point emby.example.com to your external IP.
alldigitalmagic 0 Posted November 13, 2018 Author Posted November 13, 2018 Thanks chowbok, it does work but I still need to use the port number (emby.example.com:8096) . Without the port number I land at my server default page... Any idea..? I appreciate your help!!!
tdiguy 99 Posted November 13, 2018 Posted November 13, 2018 Thanks chowbok, it does work but I still need to use the port number (emby.example.com:8096) . Without the port number I land at my server default page... Any idea..? I appreciate your help!!! That is a good point, I am not familiar with much of this but you would have to have some way to have it forward as 8096. So incoming traffic to emby.yourserver.com would then be passed to <ip>:8096 without the port number at the end it will assume 80.
chowbok 132 Posted November 15, 2018 Posted November 15, 2018 You might need to do <VirtualHost emby.example.com:80>.
tdiguy 99 Posted November 15, 2018 Posted November 15, 2018 I dont know if this applies to your setup but this might be of interest: https://stackoverflow.com/questions/19015138/how-to-redirect-dns-to-different-ports Since you use emby.server to distinguish maybe it will work.
alldigitalmagic 0 Posted November 16, 2018 Author Posted November 16, 2018 OK, so adding the :80 to the virtual host did not work neither. I will check the link provide by tdiguy. I greatly appreciate you guys helping out! It is a cosmetic problem rather than major issue... Thanks!!!
alldigitalmagic 0 Posted November 16, 2018 Author Posted November 16, 2018 I think if there is any way to get it sorted out it most certainly;y lays outside of the Apache server. After all, Emby works with Apache server stopped...
mastrmind11 722 Posted November 16, 2018 Posted November 16, 2018 I think if there is any way to get it sorted out it most certainly;y lays outside of the Apache server. After all, Emby works with Apache server stopped... Check out Cloudflare. I only type my domain name because CF handles the rest. And it's free.
xtremecool 2 Posted November 21, 2018 Posted November 21, 2018 (edited) I have zero experience with Apache as I use nginx for reverse proxying Emby, but this thread may help you out.https://emby.media/community/index.php?/topic/61549-apache-proxy-frontend-for-emby/?fromsearch=1J Edited November 21, 2018 by xtremecool
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now