Using existing installation of Concrete5 to create new website (subdomain)

Permalink 2 users found helpful
I added a sub-domain to my existing website. I want the sub-domain to use a completely different theme than the existing one. I intend on re-directing a diffent domain to the sub-domain that is unrelated to the existing concrete5 website. Can I do that using the same installation of concrete5? If so, how do I set it up to do so?

 
CygnetMidwest replied on at Permalink Reply
CygnetMidwest
Not sure if what you want to do is possible. On my host, a subdomain is created in a different directory than the root web site. Using a Concrete5 install that lives in 1 directory in a completely separate directory is not possible.

I have multiple Concrete5 installs in different subdomains on one of my sites.

It may be possible to do different installs, but hook them all up to the same database on the backend. That way you would get the same content as the main install but could use a different theme (maybe). Although, doing this may very well mess up both installations.

Your best, and safest, thing to do is just do 2 completely separate installs with different databases. With that said, you could export the original database and then import into a new database for the second subdomain installation. You could also copy over all the files in the Concrete5 directory so you get the same add-ons, etc.
xaritas replied on at Permalink Best Answer Reply
Multiple sites can share the same code base. There are a few how-tos on this, see this thread for some links:

http://www.concrete5.org/community/forums/chat/multisite/#297288...

However in a situation like that, each site's data is isolated from the others. So there is no sharing of user accounts. I'm not sure from your description if that is what you are trying to do.
CygnetMidwest replied on at Permalink Reply
CygnetMidwest
I stand corrected! :)

Very good to know. Thanks @xaritas for the info.
GodlyWriter replied on at Permalink Reply
Thanks RocketNo9, I appreciate your input and that you took the time to answer my question...Glad you were incorrect on this one though ;)
GodlyWriter replied on at Permalink Reply
Thanks, xaritas! I've read over the link, but haven't tried to do it yet. I've been busy working on the current website, but intend on getting the sub-domain in order very soon. I really appreciate your comment, glad you posted the link. Sharing user-links isn't necessary for the sub-domain, but that probably would have been a question for a future website. Thanks for the heads-up on that too.

The process is a little scary, because I don't want to mess-up my files. However, I think I can get it done. It doesn't sound as difficult as I thought it might be.
xaritas replied on at Permalink Reply
It may be that for your case, the juice is not worth the squeeze. There are advantages to having a single installation if you are running a fleet of sites, but the case is weaker for only two; and as you mention, there are risks to complecting separate concerns. However you will learn a lot by doing it, and I don't want to dissuade you if that kind of experience is valuable to you.

I think that the biggest mistake by new-ish website builders is not using any form of revision control. If you want to do something which will have many concrete (ha, ha) benefits to your site, manage your files under something like svn, git or mercurial and get in the habit of using it. That way if you do mess up your files, you can revert them to a good state. Once your site is bullet proof like that, you can confidently tackle risky projects.

http://en.wikipedia.org/wiki/Revision_control...
GodlyWriter replied on at Permalink Reply
Thanks again, xaritas, I will keep your thoughts on the subject in mind. As you said, it probably wouldn't be worth the effort to have only two sites using the same Concrete5 installation. The problem is I use ipage.com for hosting, although they have provided great service they do not make having several installations easily available on the same account. I may contact them about the issue and just install a second one or manually add one if necessary. At the moment, I've been working on a very important project and had to put my own on hold. I like the pun on the word "concrete" by the way :)