Moving site to subdomain

Permalink 3 users found helpful
I am trying to figure out if it is possible to move an existing concrete install to a subdomain of that primary domain using the existing database and concrete install which will be pointed to a new domain.

surfsupjoe125
 
madeforspace replied on at Permalink Best Answer Reply
madeforspace
Should be no problem.
Move the C5 files down to the sub domain folder and change the site.php to reflect the changes.
Your DB should still work fine assuming it is a localhost, username and password should not need to change.

Hope thats helps.

Edit: Oppss sorry think I may have misread, did you not want to move the install?
surfsupjoe125 replied on at Permalink Reply
surfsupjoe125
Thanks so much. I'll give it a try
surfsupjoe125 replied on at Permalink Reply
surfsupjoe125
Hey there again,

Yes here is the situation. I have modified a theme and have it posted on another domain name I am not using at this time. I will be moving the domain of my friend to my primary domain and it will be a subdomain. I was hoping to be able to move all of concrete under this new domain I am moving over. I realize that the site.php reflects the domain so I would modify it to point to the new domain. I was hoping to use the same database, username, password, etc. I am trying to ascertain whether this is posiible or not with concrete. I have done this before with non-concrete sites and SQL, just not sure about concrete because of the load into the root of the previous domain. Is that more clear?

Thanks
madeforspace replied on at Permalink Reply
madeforspace
So am I right in thinking that you want 2 C5 installs, one on the main domain and one on a sub domain?
I cant see any reason why not, I am assuming that you are running 2 separate DB's within the same hosting package.
The answer to the question 'can C5 handle it' is yes, what you will need to check is can your hosting package handle it. Do you have enough RAM, disk space and bandwidth to support two sites off one package. Only you can answer that.

Maybe it would be an idea to set up the sub domain and install a Plain Yoghurt with sample content and see how it performs.

Sorry again if I have misunderstood what you are trying to do.
surfsupjoe125 replied on at Permalink Reply
surfsupjoe125
Hey thanks for the reply-

The real deal is this - I developed a site on a domain I had that was not
being used. My buddy has a site and domain on one of those website tonight
offerings. It looked horrible and he wanted a new site. I told him once I
was done, I would pull his domain over as a subdomain of my server. With
that said, I wanted to be sure I could move his domain to mine, place the
concrete files that I had already built in his new domain and not lose the
work already done. So.... this is what I did. I had a clean domain that was
empty. I copied all of the concrete files & Folders to this new domain. I
backed up the database from the site that was running now with his new
design. I then restored the backup to this new domain. went into the new
domain's site.php and edited the URL. Fired it up and it worked. I have had
trouble in the past moving concrete sites and not being able to login after
words because of the passwords.

Anyway... it loks like it worked and I really appreciate your assistance and
pushing me forward the first time. I will mark your response as helpful so
you can get some Karma.

Cheers