• Please correct if these steps are wrong.

    I am moving a website to a new hosting account on the same server company.

    1. Back up full site
    2. Back up database
    3. Create new account on hosting company (same as old hosting company)
    4. Move domains there and point them to server (the same, usually comes over with the transfer)
    5. Copy backup files to same directory name as old acct into new FTP (have to do this to preserve links because I put the files in a separate folder ex: mydomain.com/news)
    6. Create new DB and adjust config file with credentials
    7. Restore DB back up in cPanel

    Should I rename the backed up DB with the new DB name?
    For example: abcd_bt is now wxyz_bt
    I wonder if it will retain the same login/pw etc?

    I’ve moved sites before but I just want to make sure because I have to move 4 or 5 of these.
    Did I miss anything?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator threadi

    (@threadi)

    That sounds correct in principle. Here is a general guide for migrations of this kind: https://developer.wordpress.org/advanced-administration/upgrade/migrating/#moving-to-a-new-server

    Your host will provide you with the access data. It is within their sphere of influence whether access data changes in this context. If you have any questions, please contact their support team.

    Thread Starter webmistressofthedark

    (@webmistressofthedark)

    Um what do you mean “Your host will provide you with the access data.”? Do you mean the new FTP login acct name and PW? That is understood. The acct will be completely different. I am taking the site from my account and putting into its own.

    I guess the only question I have is, should I rename the old DB to match the new one before uploading it since the name would change although be similar?

    Moderator threadi

    (@threadi)

    Your host provides you with all the resources used by WordPress. This includes FTP and the database. I strongly suspect that the database access data at the host will also change, which is why you should contact their support team.

    Once the new database access data has been stored, you just need to make sure you set the correct prefix in wp-config.php. You can find this in the wp-config.php of the old hosting or simply look it up in the database after it has been imported.

    Thread Starter webmistressofthedark

    (@webmistressofthedark)

    Yes I know all this. I’m beyond that. I always install my own WP into the FTP, then my own theme, via the WP. I never use ‘helper’ services.

    The host will simply give me the account name and password for the FTP/cPanel of the new acct. I will create the database name and password myself. So of course it will change. This will be a whole new account.

    I did have the config file step listed in my first post.

    My actual question was, should I restore the DB as is, or rename it? The second part will be the same but the first won’t because it will have the new acct letters, as I described above.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Moving site to new acct on same hosting company’ is closed to new replies.