Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Jan 2008
    Location
    Southern California Coast
    Posts
    183
    Plugin Contributions
    0

    Default Copying Site to Another Domain

    Hey Guys,

    I created a Zen-Cart store and after being live for a while, I thought it was time to incorporate new things and to renovate the site a little. What I am trying to do is to make a exact copy of the store on a separate domain for testing and etc.

    I tried using the move hosts tutorial, move directory tutorial, and a few others. They didn't work completely and I think the reason why is because the domain name changed.

    Can someone help me make an exact copy of my Zen-Cart store onto another domain?

    Any suggestions, guides, or links would be greatly appreciated!

    - Jason

  2. #2
    Join Date
    Jan 2008
    Location
    EGYPT
    Posts
    74
    Plugin Contributions
    0

    Default Re: Copying Site to Another Domain

    1.backup your database from old store
    2.download it to you computer
    3.install fresh copy of zen cart in new domain (easy way )
    4.open your database make nessesary changes in first lines
    like database name and database host

    5.go to your new store admin and istall SQL (copy and paste dont upload)

    done

  3. #3
    Join Date
    Jan 2008
    Location
    Southern California Coast
    Posts
    183
    Plugin Contributions
    0

    Default Re: Copying Site to Another Domain

    When you say Open database did you mean open the sql file and edit it with notepad?

    Also, shouldn't I upload backup to the new domain? Sorry, could you be a little more precise?

    - Jason
    Last edited by DieuxSoldat_04; 22 Sep 2008 at 08:10 AM.

  4. #4
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Copying Site to Another Domain

    1. Backup your database using phpMyAdmin from your webmaster panel (this will copy it to your local computer)
    2. create new (blank) database on new domain
    3. install Zen Cart on new domain
    4. use phpMyAdmin from the webmaster panel on the new domain to restore the database you backed up in step 1

    There's a tutorial about backing up your database at https://www.zen-cart.com/tutorials/i...hp?article=103
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  5. #5
    Join Date
    Jan 2008
    Location
    Southern California Coast
    Posts
    183
    Plugin Contributions
    0

    Default Re: Copying Site to Another Domain

    Both your database methods are slightly different.

    Like I said in my last post, do I just edit the database name and database host in the SQL file with note pad then upload it?

    So for step 3, I install a Fresh copy of Zen Cart then just go ahead and over write everything with a copy of my store that's currently live?

    - Jason

  6. #6
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Copying Site to Another Domain

    I don't believe that information is stored in the database. You might have to tinker with includes/configure.php and admin/includes/configure.php.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  7. #7
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Copying Site to Another Domain

    4.open your database make nessesary changes in first lines
    like database name and database host
    That advice would only have applied if you have your own dedicated server and so be able to CREATE brand new databases using phpMydmin. In that instance you probably wouldn't want to create a new database with the name of the old domain tied into it.

    On Shared Hosting you have to create new (blank) databases using your Web Hosting control panel, and can only modify them using phpMyAdmin (you cannot create new databases using phpMyAdmin).

    The advice from 'afo' (Mary Ellen) was correct.

    Vger

  8. #8
    Join Date
    Jan 2008
    Location
    Southern California Coast
    Posts
    183
    Plugin Contributions
    0

    Default Re: Copying Site to Another Domain

    So is the following correct?:

    1. Backup current live store I want to copy.
    2. Backup use phpMyAdmin to create a copy of MySQL Database.
    3. Install Fresh Zen-Cart on the Domain I want to copy it to.
    4. Upload the Backup I made of the live store.
    5. Upload MySQL Backup to new Database
    and Finished?

    Anything I missed or needs to be added?

    Would anyone be able to tell me about how to edit the configure.php to make it an EXACT ############## of my current site on a different domain?

    Sorry for the strange request and asking for precise details. I tried it once and it failed for some odd reason.

    - Jason

  9. #9
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Copying Site to Another Domain

    6. Edit the configure.php files for the new hosting.
    7. No need for number 3.
    8. Your DIR_FS (root) pathways and db details will be different for the new hosting, and only you will know what they are.

    Vger

  10. #10
    Join Date
    Jan 2008
    Location
    Southern California Coast
    Posts
    183
    Plugin Contributions
    0

    Default Re: Copying Site to Another Domain

    Can anyone give an example what I should edit in the SQL? It seems to have no organization.

    8. Your DIR_FS (root) pathways and db details will be different for the new hosting, and only you will know what they are.
    So is this information important? Do I need to edit something in the DIR_FS or configure.php regarding it?

    Thanks!
    - Jason

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Copying a Section (category) of my Store to Another Site
    By shags38 in forum General Questions
    Replies: 2
    Last Post: 29 Feb 2012, 06:38 AM
  2. Replies: 6
    Last Post: 22 Nov 2011, 11:09 PM
  3. Copying one site to another.
    By birdoasis in forum General Questions
    Replies: 6
    Last Post: 30 May 2007, 08:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg