• Is it possible to use the database on domain/server A and load it inn to a wp on domain/server B ? (if you see what I mean) not two blogs on one database, but use1 blog in two places and on diffrent servers..

Viewing 3 replies - 1 through 3 (of 3 total)
  • Not sure why you’d want to, but I’m sure you have your reasons.

    If both domains are residing on the same host/server, there would be no difficulty setting this up, but accessing it from two different servers would depend on how the host has set things up. That is, if domain/server B is not with the same provider, and they don’t allow access to the server remotely, it would a problem.

    Hey Twexs,

    • Install your two blogs on the different servers as normal
    • Edit both config.php files:
    • The db_name, db_user, db_password will be the same for both blogs.
    • The db_host line will differ. The blog that’s on the same server as the database should be able to use ‘localhost’. The other blog will need the hostname to connect remotely (ie database.example.com). If you don’t know the db_host you’ll have to email them.

    As Kafkaesqui said, not all hosts allow remote connections. Email your database host to find out if they do and how you can set that up. If you’re the play first, email later kind, check your server admin panel’s database section and see if it has anything about remote access.

    Thread Starter twexs

    (@twexs)

    Thanks for your answer. I mailed my host (b-one) and they doesn’t allow remote connecions unfortunately.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘1 blog om 2 diffrent domains and servers’ is closed to new replies.