Jump to content

Domain name instead of IP address?


Recommended Posts

alldigitalmagic
Posted

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!

Posted

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
Posted

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!!!

Posted

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.

Posted

You might need to do <VirtualHost emby.example.com:80>.

alldigitalmagic
Posted

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
Posted

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
Posted

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.

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...