Move Site to New Server
PermalinkWith a little help from tech support at Godaddy, I think I have moved
all the files and database to the new server.
The tutorial says I need to update the configuration file. Where do I
get the settings for DB_SERVER, DB_USERNAME, DB_PASSWORD, and
DB_DATABASE?
Thanks, again.
Jim
Version5.6 = /config/site.php
Version5.7 = /concrete/config/database.php
I have a 5.6 install and found the site.php file. I changed the settings in the file. I notice there's a PASSWORD_SALT setting. What is that?
Thanks, again.
Jim
But, when I request the URL for the site, which I've placed in a sub domain on the new server, I only see the cgi-bin and not the site. How do I troubleshoot it? Thanks.
Jim
files are on that server, I have something they can work with.
Thanks for hanging in there with me.
Jim
The tech suggested adding to the host file in the OS. I didn't want to alter a system file. So, I thought I would just go for it and change the DNS settings. But, I did not know what settings to change. So another call to Godaddy tech support. This time I talked to one of the best reps I've ever had. He knew just what to do. Start over, using the migration tools in the cPanel. He walked me through the steps. But, don't try this. I may have missed some.
With cPanel File Manager I made a new sub domain folder to store the files, using a domain other than the site domain. I then went to the cPanel Web Applications Installatron panel. There, I opened the C5 installer. Next to the install button is a down arrow to "Import an Existing Install." I followed the prompts for URLs, database name and password. It's a small site and everything copied to the new server in a few minutes. The site launched, but without images. That was easy to fix by just editing the pages and clicking on the image boxes and re-saving them--everything was there.
Another feature of installatron is the ability to remove, backup and clone installs. Once the site was working properly, I cloned it to the proper folder on the server, changed the DNS from the old server to the new and about two hours later the site was working. I did have to relink the images again--I might not have saved them properly the first time; I'm still pretty new at this. After the site was live, I deleted the migration install and backed up the moved site.
I hope this helps others. But, I had a great tech support rep.
There are a couple various ways to do it, most of which depending on what tools you have.
The files mentioned in tutorials likely depend on what version of concrete5 you are using.
See the official guides at the following links:
http://www.concrete5.org/documentation/developers/5.7/installation/...
http://www.concrete5.org/documentation/developers/5.6/installation/...