PDA

View Full Version : initial site creation, my questions...


bluetechnx
October 10th, 2005, 04:07 AM
Hello,

I am recently programming (nearly daily) web applications for work and some school stuff. But still not comfortable with *many* of the details, while slowly getting immersed into everything...

I am not new to PHP, Ruby/Rails (maybe a little new), SQL, HTML, MyAdmin. I am (farily) comfortable in working in these languages and tools.

I have a bare OCS account and want to setup my site hopefully with the following content:

I would like a blog system working off of the root address of my site (I am thinking typo). I would also like a media gallery in the future to post small videos of my making. I have issued ocs-install-typo (forgive any mis-spelling of that command) and created a database for me.

I would also like to let a friend manage their own blog (and perhaps other web content) at "http://twiddle.my_url.com". Where the subdomain url goes to their typo instance, and any page redirects go further down the twiddle url and not my own. Basically, I want my friends files to be seperate from my own on the filesystem. I have created the subdomain via Cpanel. But I don't know where to go from there, or if all their content should go in a /twiddle directory under public_html for example.

Where possible, I'd like to stick to one framework if possible. Manage the whole site from within Rails (linking different rails apps together?). Or good ole PHP if needed...I really don't want to mix ruby or php together if that can be avoided...

Any ideas, feedback or answers to where I seem to be clueless would be helpful. I will be working on this when I have some free time, off and on throughout the week.

Thank you all for your time. I will try to hit this page daily, but I have midterms this week and work...but, I will be checking this thread.

David G.

rob
October 10th, 2005, 10:02 PM
Unfortunately, subdomains use subfolders on Cpanel, so there's no real way around this server wise, unless you move to Webmin, which handles things a bit differently. However, if you do that, you'll have to share FTP space, as Webmin doesn't do a jail like Cpanel does with sub FTP accounts.

I'd recommend installing WordPress into two seperate dirs, or at least one inside the main public_html, the other in a sub FTP / subdomain account space. This will provide complete seperation as WordPress doesn't use the URL's like Rails does.

Hope this helps.