Can subsonic run from a subdirectory rather than a port?

General discussions.

Moderator: moderators

Can subsonic run from a subdirectory rather than a port?

Postby telijah » Fri Jul 19, 2013 6:45 pm

Instead of domain.com:8080 or whatever port I've set, can I just have it run by going to say domain.com/subsonic/ ?

Edit: I am running it on a IIS, and have my own domain pointing to my home server on a static IP
telijah
 
Posts: 28
Joined: Sun Aug 05, 2012 2:11 pm

Re: Can subsonic run from a subdirectory rather than a port?

Postby jol » Sat Jul 20, 2013 5:31 am

Yes you can - I do. Configure Subsonic not to forward to https (no https port) and to use /subsonic instead of root. Then you can install and use ARR (Application Request Routing) with IIS to integrate Subsonic into your IIS configuration. IIS will proxy the requests for Subsonic.
Best regards, jol
Subsonic 4.7 running on Acer H340 with LDAP authentication / Windows Home Server 2011 - Android client (3.5)
jol
 
Posts: 52
Joined: Sat Jan 21, 2012 7:40 pm

Re: Can subsonic run from a subdirectory rather than a port?

Postby telijah » Mon Jul 22, 2013 6:32 pm

The first part, about stopping the port forwarding and have it run in /subsonic, is that done via a config file tweak or something? I have not had a chance to dig into this yet, so I am not sure if it is obvious or not yet. Thanks for the info!
telijah
 
Posts: 28
Joined: Sun Aug 05, 2012 2:11 pm

Re: Can subsonic run from a subdirectory rather than a port?

Postby BKKKPewsey » Wed Jul 24, 2013 9:56 pm

It is obvious, it in the SS control panel settings. :D

:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Can subsonic run from a subdirectory rather than a port?

Postby telijah » Thu Jul 25, 2013 2:24 pm

Thanks again you guys. I am sure figuring out the ARR piece wont be rocket surgery either, but I will be back to report success or failure.
telijah
 
Posts: 28
Joined: Sun Aug 05, 2012 2:11 pm

Re: Can subsonic run from a subdirectory rather than a port?

Postby telijah » Fri Jul 26, 2013 2:33 pm

OK, apparently, I need it explained to me like I'm 5 as the ARR stuff was a bit out of my league.

Again, I have a static IP to my home, and have a domain that I already have pointing to my home and routed to the PC running Subsonic, and I can pull up the homepage on the IIS.

I currently access subsonic via http://www.domain.com:8081; and would like to do so now by going to http://www.domain.com/[whatever]... maybe /subsonic, so I'll use that for explanation purposes, http://www.domain.com/subsonic/

In the ss cp, do I need to change the port to 80 since it is on 8081 right now? I know I have to select /subsonic in the drop down, and to disable https routing in the cp.

The tricky part for me now is getting that to work in IIS, the ARR piece: Do I need to add a Server Farm (I don't think so, but it's one of the new options with ARR 2.5 installed on my IIS 6 server). Do I need to add a URL Rewrite rule for this to work? Or do I need to simply setup a virtual directory, pointing to the subsonic installation directory etc...

I tried using the ARR guide someone else typed up here, but they are using other things such as a subdomain to use and such and I am not looking for all of that, so it was difficult for me to pick out the pieces of that tutorial that applied to me.
telijah
 
Posts: 28
Joined: Sun Aug 05, 2012 2:11 pm


Return to General

Who is online

Users browsing this forum: No registered users and 4 guests