WordPress.org

Ready to get started?Download WordPress

Forums

Installing WordPress in subdomains?? (8 posts)

  1. SophieHolterman
    Member
    Posted 1 year ago #

    Hi there!

    I tried to find an existing topic on this particular problem, but I couldn't find it, so here's my thing:

    I have run my website http://www.sophieholterman.nl for a year now. I sell selfmade clothing on it, but I'm studying Graphic Design and since I have to apply for internships this year, I need a website with my graphic work on it. I thought it would be nice if http://www.sophieholterman.nl would be an introduction page, with two links: one directing to clothing.sophieholterman.nl, and one directing to graphicdesign.sophieholterman.nl. That means I have two subdomains, and they both need a separate WordPress installation (right?). I use DirectAdmin, and I have already created new databases for my subdomains, but I just can't figure out how to install WordPress on them. I tried uploading all WordPress files in the subdirectory (in public_html --> clothing), but it didn't work. Then I tried to upload the adjusted wp-config.php file only, since I already have the rest of the files in public_html (for the main website). I tried a lot of other things, but it keeps saying:

    Not Found
    The requested URL /wp-admin/install.php was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips DAV/2 Server at clothing.sophieholterman.nl Port 80

    ... when I try to run the install script.

    I'm having hard times with reading/learning all those terms in English. That's the whole problem actually, because I just don't understand what's written there. So at the moment something does not work the way it should, I depend on you guys... I hope you can help me out!

    Thanks in advance.

  2. SophieHolterman
    Member
    Posted 1 year ago #

    By the way... am I right by saying I can't upload the files in the root directory public_html? Those will override all the files that were already in there, right? I dare not to try it, of course, 'cause I would lose my entire website...

  3. If you've created subdomains, you'll need to upload a fresh installation of WordPress in that folder - maybe ask your hosting provider for help in figuring out where the folder is. You mentioned "clothing" folder, that sounds like the right one. That installation will need a new wp-config.php with it's own database.

    I think that you've done everything right, but maybe the files were not uploaded in the right spot?

    When I go to http://clothing.sophieholterman.nl/ all I see if a placeholder.

    I would contact your hosting provider and see if they can help.

  4. SophieHolterman
    Member
    Posted 1 year ago #

    Well, I see that everything is in the right place then... I will contact my hosting provider.

    Thank you!

  5. SophieHolterman
    Member
    Posted 1 year ago #

    It's solved!

  6. SophieHolterman
    Member
    Posted 1 year ago #

    ... or I thought it was. I managed to install WordPress on both subdomains, graphicdesign.sophieholterman.nl and clothing.sophieholterman.nl. It works fine, but when I visit my site, I still see a placeholder and nothing else, even though there's a theme installed and I haven't deleted the example posts/comments yet. What's wrong?

  7. josephpalmer
    Member
    Posted 1 year ago #

    With my hosting provider, this is how it worked:

    I installed WordPress at

    example.com/clothing

    but then I had to tell the hosting provider that I wanted the clothing folder to refer to

    clothing.example.com

    Maybe you have installed WordPress here: sophieholterman.nl/clothing
    but now clothing.sophieholterman.nl isn't linked to that folder.

  8. SophieHolterman
    Member
    Posted 1 year ago #

    Hmmm... but then why doesn't sophieholterman.nl/clothing work either? I tried to install WordPress on both, but they both show the message that WordPress is already installed in that folder. That means they are linked, right? 'Cause I didn't install it twice. Or should I empty the database, do it all over again, and install on clothing.sophieholterman.nl/wp-admin/install.php instead of http://www.sophieholterman.nl/clothing? I can't remember which I used for installing, so I could try it...

Topic Closed

This topic has been closed to new replies.

About this Topic