Switching domain names

Permalink
Hi, I've been teaching myself Concrete5 and have ended up with a fantastic site. Now my friend wants to use it for his business. Is there an easy way to buy a new domain name and rename this site or to transfer everything over? Sher

 
ScottSandbakken replied on at Permalink Reply
ScottSandbakken
If you setup your theme per Concrete5 standards, all you should need to do is move your theme folder to transfer the look and feel of your site.

If you want to move the entire site, disable pretty URLs (if enabled), make a backup of the database, clear the cache, then download all your files.

Setup the database on the new site, then import your data. Move all your files. Make a copy of your [root]/config/site.php file, then modify the [root]/config/site.php to match your new database connection information. You should then be able to log into your site and re-enable pretty URLs.

That should be it. This is a quick-and-dirty way to do it, but it should work. I will monitor this post, so feel free to post any questions you have.
mhawke replied on at Permalink Reply
mhawke
Rather than downloading all the files individually, I find it easier to go to my host's File Manager and compress all the files in my public_html folder into a zip file and download the zip. It's also easier and much more reliable to upload this zip file to the new domain and expand it there.
elliotash replied on at Permalink Reply
Hello
I have a similar problem, I changed the primary domain in my bluehost account and i am having difficulty moving the files. the old domain was tntmusicscores.com and i am having trouble identifying the database associated with this url. secondly i am having difficulty copying the files. can you offer any suggestions
mhawke replied on at Permalink Reply
mhawke
You can't actually 'move' your database. You need to make a copy of it and then import it into the new site. I find it's best to go to your old host's Control Panel and use the phpMyAdmin to backup the file to your desktop and then import it through the same phpMyAdmin program in the new server. You can find the name of the database by opening up the site.php file found in the '[root]/config/' folder on your old site.

As for moving files, what kinds of difficulties are you having? Can you be more specific?
elliotash replied on at Permalink Reply
I changed the primary domain in my bluehost account from tntmusic to cmsconsultin. so because i am a newbie and not familiar with the technical terms i am having trouble establishing a new path to the tntmusic files

What i have seen is that there are new folders for both the new primary domain cmsconsultin and the old primary domain tntmusic. both of these are pointing to the same url - tntmusicscores.com.

In the public html folder there is a directory for each domain. The new primary domain website has not been set up yet because it was just registered. So the files for the old domain are what I have to locate and move to the new location for tntmusicscores.com so that site can be operational again. So I am trying to figure out how to identify the files for tntmusicscores.com and how to move them to the new location.

I was able to find the database as indicated by you and exported to my desktop. Trouble is how and where am I importing this to?

The second issue is after all this is done if the problem of the url will be resolved where they each point to the correct url

Any assistance will be greatly appreciated
mhawke replied on at Permalink Reply
mhawke
Sorry, I assumed you were moving a site to a new server. You shouldn't have to do anything regarding the database if you're building the new site in the same server and hosting plan. The new 'site.php' file will contain the same details as the old site.php.

I'm still a bit confused when you say you have files that are 'pointing to the same URL'. What are the names of these files and how are they pointing to the old url?
elliotash replied on at Permalink Reply
i have a couple of add on domains in my account. and i changed the primary domain to a new url. the url is recently purchased so it is not set up as yet. so there is no issue there with regards to moving files.
the previous url had a site live. now that it is no longer the primary domain a new folder has been created and the default html in that folder is what is appearing when i enter the url in the address bar. i.e. when i enter tntmusicscores.com tntmusicscores.com appears as a default page. what it should point to is the site that was there when it was the primary domain.where to find the files associated with the site is what i am having a problem with.

the second issue is that when i type in the url cmsconsultin.com tntmusicscores.com appears in the address bar it is as if there is a redirect to tntmusicscores

so what i want to do is find the files and place them in the correct folder if that is what needs to be done so that tntmusicscores.com can be live again. and that there is no redirect with cmsconsultin.com
you can try it for yourself by typing in the url in your address bar

i have five domains and i am seeing site.php in the config folder for three of the domains i have in the account. there is no site.php for tntmusicscores.com in the new folder created for it and there is no site.php for cmsconsultin.com in the folder created for it.

so what i want to do is retrieve the files for the site that was live (tntmusicscores.com) and place them in the new folder that was created for it from the move

subsequent to this initial post i searched for the config file for the former primary domain tntmusicscores.com and i caould not find it anywhere

again any assistance is welcomed
elliotash replied on at Permalink Reply
i have a couple of add on domains in my account. and i changed the primary
domain to a new url. the url is recently purchased so it is not set up as
yet. so there is no issue there with regards to moving files.
the previous url had a site live. now that it is no longer the primary
domain a new folder has been created and the default html in that folder is
what is appearing when i enter the url in the address bar. i.e. when i
enter tntmusicscores.com tntmusicscores.com appears as a default page. what
it should point to is the site that was there when it was the primary
domain.where to find the files associated with the site is what i am having
a problem with.

the second issue is that when i type in the url cmsconsultin.com
tntmusicscores.com appears in the address bar it is as if there is a
redirect to tntmusicscores

so what i want to do is find the files and place them in the correct folder
if that is what needs to be done so that tntmusicscores.com can be live
again. and that there is no redirect with cmsconsultin.com
you can try it for yourself by typing in the url in your address bar

i have five domains and i am seeing site.php in the config folder for three
of the domains i have in the account. there is no site.php for
tntmusicscores.com in the new folder created for it and there is no
site.php for cmsconsultin.com in the folder created for it.

so what i want to do is retrieve the files for the site that was live (
tntmusicscores.com) and place them in the new folder that was created for
it from the move

subsequent to this initial post i searched for the config file for the
former primary domain tntmusicscores.com and i caould not find it anywhere

again any assistance is welcomed