Title: Migrating a Subdomain
Last modified: August 24, 2016

---

# Migrating a Subdomain

 *  [ralive10](https://wordpress.org/support/users/ralive10/)
 * (@ralive10)
 * [11 years ago](https://wordpress.org/support/topic/migrating-a-subdomain/)
 * Hello,
 * I am migrating a couple of my sites from GoDaddy Web Hosting Linux to GoDaddy
   cpanel. I have successfully migrated one sites but I am stuck on how to set up
   the database for the subdomain.
 * For example: I have migrated mywebsite.com but I am stuck on how to set up the
   database for new.mywebsite.com.
 * I will try to get more specific.
 * Under MySQL Database in cpanel- what do I put for the database name? The wp-config.
   php file for the subdomain has the same DB_NAME, DB_USER and DB_PASSWORD as the
   we-config.php file for the regular domain. When I input the same username in 
   MySQL in cpanel I received an error saying it already exists.
 * Thank you to anyone that can help!
    -Rachael

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

 *  [Brett](https://wordpress.org/support/users/bdeaton108/)
 * (@bdeaton108)
 * [11 years ago](https://wordpress.org/support/topic/migrating-a-subdomain/#post-6142969)
 * Moving from one hosting account to another can sometimes be overwhelming. Moving
   WordPress can be even more exciting as you now have site files and a database
   to work with. Have you tried looking at the [Moving WordPress Codex page](https://codex.wordpress.org/Moving_WordPress)?
 *  Thread Starter [ralive10](https://wordpress.org/support/users/ralive10/)
 * (@ralive10)
 * [11 years ago](https://wordpress.org/support/topic/migrating-a-subdomain/#post-6143090)
 * Thank you for the reply however the post didn’t address my specific question.
   If anyone has any insight it would be much appreciated!!
 *  [Brett](https://wordpress.org/support/users/bdeaton108/)
 * (@bdeaton108)
 * [11 years ago](https://wordpress.org/support/topic/migrating-a-subdomain/#post-6143094)
 * Follow this link as it will give you directions on how to create a Database on
   GoDaddy:
 * [https://support.godaddy.com/help/article/36/creating-mysql-or-sql-server-databases-for-your-hosting-account](https://support.godaddy.com/help/article/36/creating-mysql-or-sql-server-databases-for-your-hosting-account)

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

The topic ‘Migrating a Subdomain’ is closed to new replies.

## Tags

 * [subdomain](https://wordpress.org/support/topic-tag/subdomain/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Brett](https://wordpress.org/support/users/bdeaton108/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/migrating-a-subdomain/#post-6143094)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
