How to copy a site to a different domain name?
-
- Forum Members
- Posts: 73
- Joined: Thu Feb 09, 2006 1:38 pm
How to copy a site to a different domain name?
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.
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.
Re: How to copy a site to a different domain name?
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.
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.
-
- Forum Members
- Posts: 73
- Joined: Thu Feb 09, 2006 1:38 pm
Re: How to copy a site to a different domain name?
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.
Re: How to copy a site to a different domain name?
You could try the module Sitepusher...
Ronny
Ronny
Re: How to copy a site to a different domain name?
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...
-
- Forum Members
- Posts: 73
- Joined: Thu Feb 09, 2006 1:38 pm
Re: How to copy a site to a different domain name?
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?
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.
Re: How to copy a site to a different domain name?
Well, I can't guess what /waivers.html refers to.
Link?
Is this a page that you used to have?
Screenshot?
Pretty URLs?
Link?
Is this a page that you used to have?
Screenshot?
Pretty URLs?
Re: How to copy a site to a different domain name?
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...
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...
-
- Forum Members
- Posts: 73
- Joined: Thu Feb 09, 2006 1:38 pm
Re: How to copy a site to a different domain name?
Thank you! That did the job!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...
The only thing I noticed is that the header disappeared for some reason...
Re: How to copy a site to a different domain name?
Most likely reason is it was hard coded in template like <img src= and now the src is wrong...
-
- Forum Members
- Posts: 73
- Joined: Thu Feb 09, 2006 1:38 pm
Re: How to copy a site to a different domain name?
Thank you again! You're right. Working on it now. You're the master.