Welcome Guest | Login

Installing Typo on a sub-domain on an add-on domain

Please bear with me in this thread.  I've been working on HostingRails for a few months now, but I still haven't been able to grasp all the intricacies of server management and deployment, so I'm still a bit of a newbie.

I have one main domain and one add-on domain.  The add-on domain is a Rails app in my ~/apps/add-on-app-name folder.  This folder is symlinked from my ~/apps/main-app/public folder.  What I'm trying to do is follow the Typo installation wiki to install Typo on a subdomain of my add-on domain, something like blog.add-on-domain.net.

I originally created a new subdomain from cPanel, but this created a folder named "blog" under my ~/apps/main-app/public/ directory.  What I'd like to have happen is to move this directory under my ~/apps folder, rename it to something like ~/add-on-app-name_blog, and then install Typo to there, all the while having the server know to look in this directory to run the blog.add-on-domain.net domain.

Unfortunately, when I moved the original "blog" directory under the ~/apps folder, and then tried to install Typo, I couldn't get the Rails application functional.  I know that I don't have enough knowledge about how all of the components are working, so there's probably something obvious I'm missing.  I was wondering if someone could help me work through what I'm doing wrong, or point me to a tutorial that covers this information.

Thanks!

2007-09-25 09:18 PM

Hello,

First of all if you want to create a sub-domain of a add-on domain, you will need to go to Cpanel > sub-domains. There you need to type blog in the first field and select the add-on domain from the next field(scroll it down). If you don't do this then by default it will be under the main domain name.

Do try it out now and see if this works. Also try out the installation and get back to us incase you are facing issues. Also currently I couldn't find the blog directory you were mentioning in the query.

2007-09-25 09:45 PM

Regards,
Rahul
Hi Rahul,

Thanks for the quick response.  I removed the subdomains and its respective folders so that I wouldn't clutter up my configurations.

When I tested this originally, I did actually create the subdomain as you said.  That resulted in a directory named "blog" under my main domain's public_html directory.  Ideally, I'd like this directory to appear under my addon domain's public_html directory, or under my ~/apps directory as mentioned above.  Are you suggesting I should first create this subdomain in cPanel and then attempt the installation (again)?

If so, how would I specify the Typo directory to appear under the subdomain's directory, and then specify (in Apache, or the system, or somehow) to serve up the subdomain's files (and consequently Typo's files) from the subdomain's directory (now under the ~/apps directory).

Does this make any sense at all :)?

Thanks

2007-09-25 09:54 PM

Hello,

Ok. I have understood the issue. The issue here is that cpanel by default doesn't recognize folders or symlinks of the format "xyz.net or xyz.com..etc".

This is the reason why the folders typo or blog were getting created in them main domains public directory. I have manually created
1]the folder typo
2]changed the document root to the required path

Now you can go ahead with the typo installation in this typo folder. The domain I have created for you is "typo.addondomain.net"

2007-09-25 10:50 PM

Regards,
Rahul

Hello Guest! In order to post you must be an active client with us, please log in or sign up.