Page 1 of 2

Can Subsonic be run off an external WebHost/Server?

PostPosted: Tue Dec 30, 2008 7:50 am
by bklyn2cali
Hi there;
i'm looking to build an online database/catalog of original music that can be hosted online with client access and came across Subsonic.

Looks great, but would i be able to run the program off my webhost/external server (ie. network solutions)?

i am looking for a solution where I can host files online, and access them from any web browser.

thanks!
-

PostPosted: Tue Dec 30, 2008 10:00 pm
by psych0munky
Your webhost/external server would need to support running Java Web-applications in order for you to be able to run subsonic. As well, all of your music would need to be accessible by the server that subsonic was running on.

A quick look at the following link (http://www.networksolutions.com/web-hos ... on-alt.jsp) tells me you would need the Pro level of hosting from network solutions in order to run subsonic.

If you google for "Java servlet web hosting" you might find something cheaper. The main point is that you need to be able to deploy a .war file.

Additionally, you may have trouble as Subsonic seems to want to keep it's database and other info in places like c:/subsonic or /usr/var/subsonic, and I am not sure if that is changeable.

- Munky

PostPosted: Thu Jan 15, 2009 6:02 am
by awpti
A good web host will CHROOT your instance, so you can actually create a /usr/var/subsonic directory and it'll be referenced by the web service(s) correctly.

Perhaps we can make a feature suggestion to have the developer make this an option during initial install instead of it being forced right off?

PostPosted: Thu Jan 15, 2009 9:11 am
by sindre_mehus
FYI, the Subsonic home is already changeable.

On Linux, modify SUBSONIC_HOME in the subsonic.sh startup script.

On Windows, add the line "-Dsubsonic.home=c:/foo/bar" to c:\Program Files\Subsonic\subsonic-service.exe.vmoptions

PostPosted: Fri Jan 16, 2009 5:47 am
by psych0munky
Ohh!! Spiffy...you learn something new everyday...maybe I should delve deeper into the docs sometime...hehe?

PostPosted: Sat Feb 07, 2009 2:59 pm
by chasman
Has anyone actually done this? I would also like to be able to serve from a webhost.

PostPosted: Sun Feb 22, 2009 3:39 am
by awpti
I run subsonic off my own server at my hosting company..

http://geeklan.com:9080/subsonic/

It's not difficult at all.. don't think it'll work well on a shared host since many of folders it depends on seem to be statically defined (eg; /var/subsonic for the databases)

PostPosted: Tue Feb 24, 2009 12:00 pm
by sindre_mehus
awpti,

According to WHOIS, your domain is registered at GoDaddy.com. Are they also hosting your server? In that case I'm interested in knowing which hosting/server plan you're using. (I'm planning to set up a public Subsonic demo server).

Thanks in advance,
Sindre

PostPosted: Wed Feb 25, 2009 3:36 am
by awpti
Sindre,

I'm using a Dedicated Linux server, however it also works on Virtual Dedicated servers.

I'd be happy to host a demonstration version under one of my own domains or a subdomain.

I've got bandwidth and CPU-time to spare.

EDIT: Yes, I host with GD.

PostPosted: Wed Feb 25, 2009 9:23 am
by sindre_mehus
awpti wrote:I'd be happy to host a demonstration version under one of my own domains or a subdomain.

I've got bandwidth and CPU-time to spare.


Thanks for your offer! I actually ordered a Virtual Dedicated server (for 1 month) at GoDaddy yesterday, so I'll try that out first.

If you were to host the demo server, would it be possible to give me SSH access, so that I could administrate the Subsonic installation myself?

Thanks,
Sindre

PostPosted: Wed Feb 25, 2009 9:30 am
by awpti
I actually run PLESK on the server which pretty much precludes managing it via SSH (PLESK has tomcat run the content right out of the WAR file, doesn't even uncompress it).

Not much to manage under that environment.

PostPosted: Fri Feb 27, 2009 12:31 am
by matthew
Sindre,

If you want i can give you access to my subsonic which i have hosted at http://m.ndsuniverse.com; we can setup a CNAME for your domain; or I can setup a linux OS VPS with root access for you to use.

Thanks,
Matthew.

PostPosted: Fri Feb 27, 2009 12:45 am
by matthew
username: view
password: view

Anyway let me know if you need it :)

PostPosted: Fri Feb 27, 2009 10:04 am
by sindre_mehus
Matthew,

Thanks for your very kind offer :D

I've just set up my own public demo server, and I think that works fine for now. We'll see how it works out - I'll get back to you if it doesn't.

Thanks,
Sindre

PostPosted: Sat Feb 28, 2009 9:42 pm
by chasman
Anyone care to make a step-by-step guide for an idiot like me?