Page 1 of 1

subsonic web folders

PostPosted: Thu Jan 19, 2012 9:29 am
by mfultonncl
Hi all,

I currently have subsonic setup as a home server, with a domain pointing to my external IP so I can access the subsonic login page directly via the domain.

This means subsonic is accessible via:

http://mywebsite.com
http://10.221.223.21 (external IP)

As I wish to run a web server off this box in addition to subsonic, I need to move the subsonic files to a subfolder on the server so that to get access to subsonic externally via a web sub folder, e.g.:

http://mywebsite.com/subsonic/
http://10.221.223.21/subsonic/

So I can use a different index.htm page for the root of the web server.

How could this be done? Seems like a simple task.

Thank you all

Re: subsonic web folders

PostPosted: Thu Jan 19, 2012 9:31 am
by ytechie
What you're looking for is the context path setting. Changing it is different between operating systems. What OS is your server running on?

Re: subsonic web folders

PostPosted: Thu Jan 19, 2012 10:00 am
by mfultonncl
Thanks for the quick reply, have managed to sort it over HTTP using the configurator in Windows.

Was as simple as selecting "subsonic" in the context path and restarting Jetty.

Unrelated question - trying to configure HTTPS. I have forwarded port 443 and 568 on my router and enabled the "enable HTTPS on port" tickbox and kept it at 443.

It errors out after the restart saying "Address already in use. Please change port number." (nothing else is using this port to the best of my knowledge).

Changing the port to 568 works correctly - when I access the page locally the browser prompts for a security exception to be added presumably because the HTTPS certificate isn't signed.
However, remotely I get 404 errors, on both the web site host and the direct external IP.

Any ideas where this could be going wrong?

Thanks

Re: subsonic web folders

PostPosted: Thu Jan 19, 2012 6:31 pm
by ytechie
Go to canyouseeme.com and check port 568. If you aren't getting through, then you need to take another look at your router and port forwarding.