• Resolved breakingball

    (@breakingball)


    (This topic is cross-posted in my host’s forums)

    I mistakenly created an addon domain through my cPanel’s Domain Manager rather than through the Addon Domains panel. This is causing some redirection issues with my main domain, so I would like to delete the addon domain’s directories from the server and recreate the addon domain correctly.

    The addon domain I created incorrectly contains a subdirectory which contains a WordPress installation that I would like to migrate to the root level of the re-created addon domain.

    My concern is with how to treat the MySQL database for this WordPress installation, and how it will be affected when I recreate the addon domain. I would like to know what steps to take to make sure that the migration of my WordPress files into the root level of the recreated addon domain is as seamless as possible and that the database remains associated with the reinstalled WordPress directory.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • vkaryl

    (@vkaryl)

    Haven’t ever done this myself (in re the addon domain situation), but a database dump/backup from such a domain is no doubt virtually the same as any other db dump – kinda like “all cats are grey in the dark”, y’know? It’s just an sql file….

    So you set up the domain right, and put your wp files where you really want them, create a database and import the dump. You might not even have to screw with dumping and creating/importing new; that would be a per-host thing – where I’m hosted, all I’d need to do would be use the same config.php info and the new install would find the db just fine without any messing with it. You’d want to get the info on that from your host though.

    Thread Starter breakingball

    (@breakingball)

    where I’m hosted, all I’d need to do would be . . .

    Of course, that’s what I was hoping to hear is possible.

    Thanks.

    Thread Starter breakingball

    (@breakingball)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Migrating a WP installation’ is closed to new replies.