Title: Database on a different server?
Last modified: August 18, 2016

---

# Database on a different server?

 *  [flashculture](https://wordpress.org/support/users/flashculture/)
 * (@flashculture)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/database-on-a-different-server/)
 * Hi,
 * Is it possible to set WP up on one server, but use a mysql database on another?

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/database-on-a-different-server/#post-589710)
 * In theory – yes.
    Although be aware, most host do NOT allow access to their database
   from outside. So, you should clarify this with the host where the DB is.
 *  [roguehand](https://wordpress.org/support/users/roguehand/)
 * (@roguehand)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/database-on-a-different-server/#post-589919)
 * I’m currently working with a WordPress install that has the database on an entirely
   different server. The Pro’s: It’s much faster. The Con’s: I can’t seem to solve
   the permalink issue. Works fine set to permalink default, once i try to implement
   the category/postname structure I get the old 404 error.
 * Once I find the solution I’ll post it here. Unless someone beats me to it.
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [18 years, 7 months ago](https://wordpress.org/support/topic/database-on-a-different-server/#post-589920)
 * Where the database is located has no bearing on permalinks.
 * If “pretty” permalinks give you a 404 error, then you’re either a) not using 
   Apache or b) it can’t create the .htaccess and you need to do it manually or 
   c) your host doesn’t support mod_rewrite.

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

The topic ‘Database on a different server?’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 4 participants
 * Last reply from: [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * Last activity: [18 years, 7 months ago](https://wordpress.org/support/topic/database-on-a-different-server/#post-589920)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
