Install C5 w/o Affecting Live Website

Permalink
Hi all - is there a way to install concrete 5 without affecting the current website's home page? I want to avoid downtime and install concrete5 while the current website is live.

MavenMedia
 
donnaruma replied on at Permalink Reply
Grafx, couple of questions first before an answer.

What are you using the site for (is it database driven, or just a bunch of html/css on static pages)?

Do you have a development/testing site?

I am assuming you are converting the existing site to a concrete5 based site, would this be correct?

If you already have a development/test site, install concrete5 on that site first, then migrate the current live site's data over to the development site, push the dev site live. If you don't have a dev site, copy the site you intend to convert to concrete5, then upgrade the dev site to concrete5, and push the site live once complete. (This is a very simplistic answer, more details can be given if needed.)

For an even more simplistic answer, to avoid downtime, start with a dev site, then push the dev site live once it has been converted.
MavenMedia replied on at Permalink Reply
MavenMedia
I have an existing site and I'm converting it into a concrete5 based site.

I put c5 on a subdomain installation but now I'm stuck trying to make it go live on the main domain. Would you happen to know how to do that?
donnaruma replied on at Permalink Reply
I think I know how to do it, let me test it, and I'll get back to you shortly.
MavenMedia replied on at Permalink Reply
MavenMedia
Appreciate it!

To be clear, the c5 install is on admin.domain.com and I'd like to get the web
site live on domain.com.
donnaruma replied on at Permalink Reply
Ok, after playing around with it for a bit, and doing a bit of searching, I found some documentation on the concrete5 site on how to move a site. <a href="http://www.concrete5.org/documentation/installation/moving_a_site/">Moving a site</a>


Here is an overview of the basics (Assuming you are not moving the database, and just the site itself.)

1. Backup your site (just in case something goes wrong,)

2. Disable AND Clear the cache (In the admin dashboard, under XXXXX, right hand side of the page)

3. Move the files to their new directory.

4. open up /config/site.php and change the line
define('Base_URL', "http://url.site.com"
to reflect your site name (if you used dev.site.com, change it to site.com)


5. change
define('DIR_REL','/url');
to the appropriate folder from root (so, if the site is in /clients/client1, set '/url' to '/clients/client1', if the site is in root, change it to
define('DIR_REL','');


Once you have done all of this, you should be all set :-)

If you have any problems, let me know.

J
MavenMedia replied on at Permalink Reply
MavenMedia
This makes sense. I'll play around with it.

Thanks for the quick replies - really appreciate it donnaruma!