How to copy a site to a different domain name?

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
thumbsucker
Forum Members
Forum Members
Posts: 73
Joined: Thu Feb 09, 2006 1:38 pm

How to copy a site to a different domain name?

Post by thumbsucker »

Hi,

I am copying an existing CMS Made Simple site to a different domain name.

I copied all the files over.  Backed up the database.  Modified the config file. 

But for some reason, I cannot seem to import the old database into the new one using Phpmyadmin.  Am I on the right path, and if so, what would be the right way to import the old DB to the new site?

It seems to be conflicting with the "old database" from the old site already live on my server.
replytomk3

Re: How to copy a site to a different domain name?

Post by replytomk3 »

Waiting for more information.

http://mkrd.info/software-discussions/cms-made-simple/backin-up-and-restoring-cmsms.html on renaming the database. Otherwise, I have no idea what you want.
thumbsucker
Forum Members
Forum Members
Posts: 73
Joined: Thu Feb 09, 2006 1:38 pm

Re: How to copy a site to a different domain name?

Post by thumbsucker »

I basically can't seem to copy the database over from one site to a new site that I'm building and get it to work properly.  Tried everything.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: How to copy a site to a different domain name?

Post by RonnyK »

You could try the module Sitepusher...

Ronny
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: How to copy a site to a different domain name?

Post by Dr.CSS »

It would help if you listed all the things you tried, like how did you export it, I know of 1 way it won't work from using 1&1 hosting/DB it has to be exported as all table else it tries to go to DB and access it w/o user name and password and gives an error...
thumbsucker
Forum Members
Forum Members
Posts: 73
Joined: Thu Feb 09, 2006 1:38 pm

Re: How to copy a site to a different domain name?

Post by thumbsucker »

Okay.  I got it transferred by editing the SQL file as suggested and uploading it to httpdocs directory.  Then I used the command line to load it into the DB.

Unfortunately, while my front page shows up fine, I get the following error whenever I try to click onto a subpage:

Not Found

The requested URL /waivers.html was not found on this server.
Apache/2.0.52 (CentOS) Server at www.******.com Port 80

I edited the config file.  Is there something that I missed?
Last edited by Anonymous on Wed Jan 06, 2010 8:10 pm, edited 1 time in total.
replytomk3

Re: How to copy a site to a different domain name?

Post by replytomk3 »

Well, I can't guess what /waivers.html refers to.

Link?

Is this a page that you used to have?

Screenshot?

Pretty URLs?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: How to copy a site to a different domain name?

Post by Dr.CSS »

Put the install folder from the correct version of the site back into the root of site, run yoursite.com/install/ and follow the prompts till you get to step five where you input the DB info...

DO NOT CREATE TABLES OR INSTALL DEFAULT CONTENT!...

These are the 2 tick boxes at the bottom, doing the install will fix any path problems you have...
thumbsucker
Forum Members
Forum Members
Posts: 73
Joined: Thu Feb 09, 2006 1:38 pm

Re: How to copy a site to a different domain name?

Post by thumbsucker »

Dr. CSS wrote: Put the install folder from the correct version of the site back into the root of site, run yoursite.com/install/ and follow the prompts till you get to step five where you input the DB info...

DO NOT CREATE TABLES OR INSTALL DEFAULT CONTENT!...

These are the 2 tick boxes at the bottom, doing the install will fix any path problems you have...
Thank you!  That did the job!

The only thing I noticed is that the header disappeared for some reason...
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: How to copy a site to a different domain name?

Post by Dr.CSS »

Most likely reason is it was hard coded in template like <img src=  and now the src is wrong...
thumbsucker
Forum Members
Forum Members
Posts: 73
Joined: Thu Feb 09, 2006 1:38 pm

Re: How to copy a site to a different domain name?

Post by thumbsucker »

Thank you again!  You're right.  Working on it now.  You're the master.
Locked

Return to “[locked] Installation, Setup and Upgrade”