• Why is it that on some servers you can have wp-config configured like this:

    define(‘DB_HOST’, ‘FBC.OBM.BIZ’);

    and on others it won’t run unless you configure it like this:

    define(‘DB_HOST’, ‘localhost’); or
    define(‘DB_HOST’, ‘127.0.0.1’);

    I changed servers and that is what happened.

Viewing 1 replies (of 1 total)
  • Because sometimes the database server is on the same server as the web server – thus localhost. And in other cases, it’s on a different server and requires a different domain name or IP address.

Viewing 1 replies (of 1 total)
  • The topic ‘Naming DB_Host in wp-config’ is closed to new replies.