WordPress.org

Ready to get started?Download WordPress

Forums

What is the localhost for dotster-hosted wordpress blogs? (7 posts)

  1. keme
    Member
    Posted 4 years ago #

    I have manually installed WordPress and have edited the wp-config.php file but keep getting an "Error establishing a database connection... we can't contact the database server at localhost" redirect when I run the install.php.

    here is what my localhost config looks like:

    /** MySQL hostname */
    define('DB_HOST', 'localhost');

    Does anyone know if I should be using 'localhost' or something else with Dotster?

    thanks!
    kems

  2. MichaelH
    Member
    Posted 4 years ago #

    A couple of years ago it was like this:

    dbxxint.dotsterhost.com

  3. keme
    Member
    Posted 4 years ago #

    Hey MichaelH - Thanks for the suggestion. I tried 'dbxxint.dotsterhost.com' with no success.

  4. MichaelH
    Member
    Posted 4 years ago #

    You'd likely need to change the xx to the value assigned by doster. If you can't find the info in your hosting control panel ask your hosts' support department.

  5. keme
    Member
    Posted 4 years ago #

    Yes I tried this with no luck. Very frustrating.

  6. MichaelH
    Member
    Posted 4 years ago #

    If you called 360-449-5810 and they couldn't help, you might want to start looking for another hosting arrangement.

  7. aedgerton
    Member
    Posted 4 years ago #

    To find the correct value for 'DB_Host' go into your Dotster account management and go to "configure" for your hosting. Go to the databases menu and select the database you're using for WordPress. Use the value listed as "internal hostname" in place of "localhost" and that should solve the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic