WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can't add WordPress to one.com domains (16 posts)

  1. grazdesigns
    Member
    Posted 4 years ago #

    I bought a terrible domain at http://www.one.com where everything advanced has to be installed manually, wordpress for example. My domainname is http://grazdesigns.com and I'm trying to install wordpress on it. It simply just won't work I dont know what I'm doing wrong.

    This is my workflow when trying install:
    -I upload all the downloaded wordpress files to a new folder (subdomain) called "blog" via CoreFTP (can't stand one.com's uploader) so it looks like http://blog.grazdesigns.com

    -I rename the wp-config-sample.php to wp-config and add my userinfo PROVIDED by my own host.
    [code]define('DB_NAME', 'grazdesign_com');

    /** MySQL database username */
    define('DB_USER', 'grazdesigns_com');

    /** MySQL database password */
    define('DB_PASSWORD', 'Pa55w0r6s');

    /** MySQL hostname */
    define('DB_HOST', 'grazdesigns.com.mysql');

    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');

    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');[/code]
    looks a little something like that

    then when I open up the URL with install.php ending it gives me a 404 error or another error message.

    Please help, what am I doing wrong in the process?

  2. whooami
    Member
    Posted 4 years ago #

    first, youve put passwords on a public forum -- bad idea.

    second -- define('DB_HOST', 'grazdesigns.com.mysql'); <-- thats NOT right.

    third unless you actually set up that subdomnain's dns thats never going to work.

    lastly, you dont actually mentioning setting up a database. Putting a bunch of stuff inside the wp-config.php is useless if it doesnt match what really exists.

  3. grazdesigns
    Member
    Posted 4 years ago #

    Thanks for reply!

    1. It's not the real password, hence the "Pa55w0r6"
    2. Thats what my host provided as "host" value. Whats right then?
    3. So I cant apply wordpress the way I do to a subdomain?
    4. I believe grazdesigns_com is a preinstalled database within phpMyAdmin, But I will check it out.

  4. whooami
    Member
    Posted 4 years ago #

    3. sure you can, as long as the subdomain properly points to the directory you want it to be in.

    you have something here:

    http://grazdesigns.com/blog/

    which tells me thats not the case. Unless you have 2 things going on in that dir?

    you dont have to use the blog directory for that subdomain, by the way, thats just standard practice. thats all set up in your hosts control panel, assuming they provide one.

  5. whooami
    Member
    Posted 4 years ago #

    as to this:

    /** MySQL hostname */
    define('DB_HOST', 'grazdesigns.com.mysql');

    youre a bright person, does that look like a hostname to you? Its not. :) and its ***NEVER*** going to resolve.

  6. realplayer54
    Member
    Posted 4 years ago #

    Well, this hasn't helped me any. I also have a one.com account. I just put in localhost like it said, but still nothing. Also it instructs me to leave the symbol at the top and bottom of the script alone. The one at the top looks like this: <?php. The one at the bottom is SUPPOSED to look like this: ?>. I had to add the bottom one, but still nothing. I consider myself really computer savvy, but this is WAY too hard. I feel like I've come in right in the middle of everything.

  7. grazdesigns
    Member
    Posted 4 years ago #

    Ok I managed to move a step forward, now when I load http://grazdesigns.com/wp-admin/install.php I get wordpress
    "Error establishing a database connection...
    can't contact the database server at grazdesigns_com. This could mean your host's database server is down. "

    WELL THE DB IS GRAZDESIGNS_COM... Im getting really tired of this...

  8. whooami
    Member
    Posted 4 years ago #

    i think I already explained the problem with that..

  9. thisisedie
    Member
    Posted 4 years ago #

    Graz... you can try til the cows come home but you'll never connect to a database that doesn't exist. Did you create the database?

  10. Charles Frees-Melvin
    Member
    Posted 4 years ago #

    for server name try localhost it works most of the time.

  11. grazdesigns
    Member
    Posted 4 years ago #

    @thisisedie - One.com hosting provides only ONE database and I cannot create additional databases, and the one I got provided is called "grazdesigns_com" thats why I linked it. I thought I already mentioned that... and YES IT EXSIST :/

  12. grazdesigns
    Member
    Posted 4 years ago #

    It got resolved anyway, remove this thread.

  13. realplayer54
    Member
    Posted 4 years ago #

    How did it get resolved? Can you please explain that to me?

  14. grazdesigns
    Member
    Posted 4 years ago #

    I had simply feeded wrong values into the wp-config.php file. So all my bad. the db now looks something like this:

    /** The name of the database for WordPress */
    define('DB_NAME', 'grazdesigns_com');
    
    /** MySQL database username */
    define('DB_USER', 'grazdesigns_com');
    
    /** MySQL database password */
    define('DB_PASSWORD', 'password');
    
    /** MySQL hostname */
    define('DB_HOST', 'localhost');
    
    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');
    
    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');
  15. realplayer54
    Member
    Posted 4 years ago #

    Hmm. That's what I did. Do you have to put the underscore instead of dot com?

  16. realplayer54
    Member
    Posted 4 years ago #

    Wait, I have a better question. Did you insert this script directly into your file manager in the cPanel?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.