Move Site to New Server
Permalink
I've searched the site for a tutorial on moving my site to a new server, but I'm confused. There seems to be several ways to do it. I look at the directory and don't see the files mentioned in the suggestions. Can some one point me the right direction? Thanks. Jim
Thanks for the links.
With 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
With 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
You would get this information from your cPanel, or wherever you created your database/db user. Then the file you put that info in is:
Version5.6 = /config/site.php
Version5.7 = /concrete/config/database.php
Version5.6 = /config/site.php
Version5.7 = /concrete/config/database.php
Thanks for the advice.
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
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
Password salt is an autogenerated hashed password. This is not something you want to change.
I'm glad I asked. I didn't touch it.
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
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
That has happened to me when I didn't have the files in the right directory. You may want to double check that.
Oh, boy. I'll try called Godaddy tech support again. Now that the
files are on that server, I have something they can work with.
Thanks for hanging in there with me.
Jim
files are on that server, I have something they can work with.
Thanks for hanging in there with me.
Jim
I followed the tutorial for moving a site: I copied files and the database to my local drive. Next, I uploaded the files to a "test" folder on the new server, created a new database and imported the old database. I'm using version 5.6.3.4 and updated the config file with the new database name, username and password. The site didn't launch. The suggestion here was that the files were not in the right directory. With that advice, I called my hosting service, Godaddy, and spoke with a tech. He said that the DNS still pointed to the old server and because I had placed the files in a sub domain, I needed to change the DNS. I wanted to test the site before I changed the DNS, in case there was a problem, the site would remain live.
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.
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/...