• I’d like to install wp for a subdomain using cPanel, but I don’t know anything about databases and I don’t want to screw up anything. Can someone give me the simplest way to make this happen?
    Thanks

Viewing 15 replies - 1 through 15 (of 15 total)
  • Create the subdomain and install WP into it as if it were a TLD (top level domain). You should be fine.
    Installation using CPanel X
    – Bryan

    Thread Starter adb

    (@adb)

    I’ve uploaded all the necessary files, created another database, and changed the wp-config.php. I get the following error:

    Error establishing a database connection! This probably means that the connection information in your wp-config.php file is incorrect. Double check it and try again.
    * Are you sure you have the correct user/password?
    * Are you sure that you have typed the correct hostname?
    * Are you sure that the database server is running?

    I’ve checked for whitespace also. What could I be missing?

    Something is not correct in your config.php file. Or, you didn’t match the db with an user. Check again the config file!

    Thread Starter adb

    (@adb)

    Since I’m using a subdomain, where should I house all the files. Is there a specific location?

    In your subdomain πŸ™‚
    Depending on whether is there a redirect for the subdomain or not (CPanel) you have 2 options:
    1. If there is a redirect set up, then opening your FTP client you see the subdomain as a directory.
    2. If there is no redirect, then you have to set up the FTP detail when creating the subdomain.
    Upload the WP files in either case in the subdomain (directory).

    Thread Starter adb

    (@adb)

    I’m using cPanel. I’m not sure what yo mean. How would I set up a FTP detail?

    Thread Starter adb

    (@adb)

    I’m all set. Thanks for your help!

    I love when people never read what is in front of them πŸ™‚
    Well, when you create a subdomain, it says:
    Note: If you wish to grant virtual ftp access to this subdomain, just create an FTP user with the same username as the subdomain base name that is listed inside the () above.
    So, after having created the subdomain, you remember/write down the (name), then you go to the main CPanel page where under FTP you’ll see Manage accounts…
    click πŸ™‚ and create the FTP user that will be able to upload all kind of stuff to your subdomain. Of course, the “user” will be yourself, it’s just a technicality. Then with all the data (i.e. FTP user and pw) in your mind or on a paper, open your FTP client and start uploading the WP files…

    Oh, I see you. You’ve done it.
    (anyway at least the first line of my post is always valid, LOL)

    I guess I’m not all set. I was able to login to the subdomain just fine. When I tried to login to my domain I got this error with the login fields:

    Warning: Cannot modify header information – headers already sent by (output started at /home/gldnspce/public_html/wp-config.php:35) in /home/gldnspce/public_html/wp-login.php on line 373
    Warning: Cannot modify header information – headers already sent by (output started at /home/mysite/public_html/wp-config.php:35) in /home/mysite/public_html/wp-login.php on line 375
    Warning: Cannot modify header information – headers already sent by (output started at /home/mysite/public_html/wp-config.php:35) in /home/mysite/public_html/wp-login.php on line 377
    Warning: Cannot modify header information – headers already sent by (output started at /home/mysite/public_html/wp-config.php:35) in /home/mysite/public_html/wp-login.php on line 379
    WordPress

    I get the same error on the subdomain also. Both sites are viewable.

    Thread Starter adb

    (@adb)

    and when I enter login info it says, “the password field is empty.”

    It seems to be a white space problem…

    Thread Starter adb

    (@adb)

    and that would cause problems on both sites? I never touched the main domain wp-config.

    Thread Starter adb

    (@adb)

    I don’t get how it could be a white space problem when I didn’t have any trouble logging in once the installation was complete and not being able to login in to the main domain either. Any suggestions anyone?

    Thread Starter adb

    (@adb)

    Problem solved. It was white space.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘install for subdomain’ is closed to new replies.