(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.