Page 1 of 1

Can subsonic run from a subdirectory rather than a port?

PostPosted: Fri Jul 19, 2013 6:45 pm
by telijah
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

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

PostPosted: Sat Jul 20, 2013 5:31 am
by jol
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

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

PostPosted: Mon Jul 22, 2013 6:32 pm
by telijah
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!

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

PostPosted: Wed Jul 24, 2013 9:56 pm
by BKKKPewsey
It is obvious, it in the SS control panel settings. :D

:mrgreen:

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

PostPosted: Thu Jul 25, 2013 2:24 pm
by telijah
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.

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

PostPosted: Fri Jul 26, 2013 2:33 pm
by telijah
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.