Baffled: Using my own domain to access Subsonic

Need help? Post your questions here.

Moderator: moderators

Baffled: Using my own domain to access Subsonic

Postby Jittery Jim » Tue Aug 30, 2011 10:15 pm

I've done some searching on this topic and have yet to find an answer or explanation that makes sense to me. As such I'm throwing out a cry for help.

I have enloe.me registered and have set-up a subdomain of music.enloe.me that I want to point to my Subsonic set-up. So rather than going to http://mightyjack.subsonic.org or my IP address http://98.145.93.210:500, I can use http://music.enloe.me and see my Subsonic login page and use the service there.

Possible? Easy? Help?

Many thanks in advance for any advice, suggestions, links, etc.
Jittery Jim
 
Posts: 14
Joined: Sat Feb 19, 2011 12:13 am

Re: Baffled: Using my own domain to access Subsonic

Postby bushman4 » Wed Aug 31, 2011 12:08 pm

What operating system?

I can think of a way to do it in Windows...

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Baffled: Using my own domain to access Subsonic

Postby Jittery Jim » Wed Aug 31, 2011 3:57 pm

Glenn,

My Subsonic server is running on Windows XP presently.

Thank you,

James
Jittery Jim
 
Posts: 14
Joined: Sat Feb 19, 2011 12:13 am

Re: Baffled: Using my own domain to access Subsonic

Postby carbonrough » Wed Aug 31, 2011 4:41 pm

.... would you not just add or change your 'A' record on your Hosts control panel to reflect your subdomain?

or am I way off the mark :D

Peace

K.
User avatar
carbonrough
 
Posts: 28
Joined: Thu Oct 22, 2009 2:36 pm

Re: Baffled: Using my own domain to access Subsonic

Postby bushman4 » Wed Aug 31, 2011 5:13 pm

carbonrough wrote:.... would you not just add or change your 'A' record on your Hosts control panel to reflect your subdomain?


Well, you could do that, but then you would have to access the URL http://music.enloe.me:500, not http://music.enloe.me.

Unfortunately, the IIS that is included with XP professional does not have the ability to redirect.

So the only method I can see is to use Apache.

It would go something like this:
1. Open ports 500 and 80 on your router to point to the XP pro machine.
2. Set the A record for music.enloe.me to point to your external IP address (visible at http://www.whatismyip.org, but it sounds like it is 98.145.93.210)
3. Install Apache running on port 80.
4. Create a virtual site in Apache with the host header name of "music.enloe.me" and set it to redirect to http://98.145.93.210:500, or even better, set it to redirect to http://mightyjack.subsonic.org which will then redirect to the proper external IP address as it changes (and subsonic will manage that second redirect for you).

A little rube goldberg-esk, but it would work...

HTH,

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Baffled: Using my own domain to access Subsonic

Postby Jittery Jim » Wed Aug 31, 2011 5:17 pm

bushman4 wrote:So the only method I can see is to use Apache.

It would go something like this:

[snip]

A little rube goldberg-esk, but it would work...

HTH,

Glenn


Thanks, Glenn. That sounds, well, like more work that it's worth.

I cheated. I made an index.html page and embedded an iframe that points to my Subsonic server. So, in effect, I can give out http://music.enloe.me and have my (few) users see the login page and Subsonic set-up. So far it seems to work ok.
Jittery Jim
 
Posts: 14
Joined: Sat Feb 19, 2011 12:13 am

Re: Baffled: Using my own domain to access Subsonic

Postby Revenant » Tue May 08, 2012 10:35 pm

Sorry for bumbing an old thread but I would like to figure out how to do this with Apache. I'm running WAMP and Subsonic on a Win7 machine with a private domain name pointing to that machine.

Create a virtual site in Apache with the host header name of "music.enloe.me" and set it to redirect to http://98.145.93.210:500, or even better, set it to redirect to http://mightyjack.subsonic.org which will then redirect to the proper external IP address as it changes (and subsonic will manage that second redirect for you).


Would this be similar to what you said?

Code: Select all
Listen 127.0.0.1:8080
<VirtualHost 127.0.0.1:8080>
ServerName subsonic.domainname.com
</VirtualHost>


Subsonic is running off port 8080 as apache is running off port 80.

Thanks.
Revenant
 
Posts: 5
Joined: Fri Apr 30, 2010 5:55 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 13 guests