• Resolved eltioska

    (@eltioska)


    Hullo

    I am starting out on using wordpress and am trying to set up a number of blogs on a shared host. (I’m using Just Host – this is my first experience with hosting so I’m not sure how good they are. Their support response is fast though.)

    I have three separate sites set up, each in its respective directory and with its wordpress installation and domain name and directories as follows:
    public_html/firstexample.com
    public_html/secondexample.com
    public_html/thirdexample.com

    So far so good…

    Now I need to set up another blog with subdomains:
    site1.fourthexample.com, site2.fourthexample.com and so forth.

    Since this will be a “set” of related sites (and I want to share the templates across these and manage them together), it seems that setting them up using WP 3.0’s “multi site” function seems best.

    However, I am stuck on the following:

    *Question 1*

    Can I install WP 3.0 in a subdirectory (public_html/fourthexample.com) and use the multisite function?

    What I will need to administer as a network will be the different subdomains of fourthexample.com

    I read on a tutorial that to use the multisite function I need to install WP 3.0 in the directory that contains the .htaccess file.

    *Question 2*

    I read on this forum (https://www.ads-software.com/support/topic/408604) that someone copied the .htaccess file to the subdirectory and installed WP 3.0 in there. Now this got me more confused! :o)

    Is it recommendable to simply copy the .htaccess file from /public_html to /public_html/fourthexample.com?

    *Question 3*

    So, in light of all this, where should I point the subdomain “*” wildcard?
    /public_html or /public_html/fourthexample.com?

    Cheers
    ska

Viewing 10 replies - 1 through 10 (of 10 total)
  • Lee

    (@diondeville)

    This guide will show you how to activate Multi Site and set up your wildcard DNS.

    Yes, you can install WP 3 with MS activated in sub directories, just set up your wildcard DNS on the sub directory e.g

    public_html/your-site-one/*
    public_html/your-site-two/*
    public_html/your-site-three/*

    An htaccess file can be created in any directory (folder). For this purpose of WordPress, create one in the directory that houses your index.php and wp-config.php files. e.g

    public_html/your-site-one/.htaccess
    public_html/your-site-two/.htaccess
    public_html/your-site-three/.htaccess

    Lee

    (@diondeville)

    One more thing, your .htaccess file should contain the line

    DirectoryIndex index.php

    Make sure to press return (enter) to create a blank new line below it.

    Thread Starter eltioska

    (@eltioska)

    Cheers for the info & quick reply!

    The guide you proposed was very helpful.

    I followed what it said to the letter and also what you told me re the wildcard subdomain setup (set as * on public_html/mysite) and the .htaccess file.

    Added the edits as on the WP Tools > Network from the Dashboard.

    Went to SuperAdmin > Sites > Add New and created a test site,
    received the automated emails informing me that the site has been created on test.mysite.com

    Went to the link and got a “problem loading page” message from the browser. Can’t even go to the site dashboard (test.mysite.com/wp-admin) coz it’s not loading.

    1. Maybe I need to wait for the subdomain to be activated?

    2. Should a subdirectory have been created for my test site? Where? I checked the directory public_html/mydomain/wp-content/blogs.dir and there’s nothing in it.

    Yes, you can install WP 3 with MS activated in sub directories, just set up your wildcard DNS on the sub directory e.g

    @diondeville – Only if your webhost supports it. the wildcard subdomain records is only one half of what needs to be done. Some webhosts set this up when your account is created. Others do not (and will not).

    If you’re on a VPS or dedicated, then it can be fixed. On a shared host, not so much. On a cloud? Not likely.

    Apache needs a wildcard record like this:

    ServerAlias yourdomain.com *.yourdomain.com

    @eltioska

    1. Maybe I need to wait for the subdomain to be activated?

    On most hosts, it’s instant. (GoDaddy is an exception.) But just like I said above, your webhost has to support wildcards on their end. Please ask your support team. If they do not, then it will never work.

    2. Should a subdirectory have been created for my test site? Where? I checked the directory public_html/mydomain/wp-content/blogs.dir and there’s nothing in it.

    No, the blogs are virtual. they are served up via the database.

    Further reading:
    https://wpmututorials.com/basics/mu-is-virtually-yours/

    Thread Starter eltioska

    (@eltioska)

    @andrea_r: Thanks a lot!

    My subdomain is now working!!! I dunno how, coz I didn’t do any further changes. I guess I had to wait a bit for it to be activated.

    I’m using Just Host, shared hosting. So far I’m finding them good, with excellent response time to my queries.

    This is my first experience with self-hosted blogs, domains and wordpress :o)

    A couple of things:

    Just Host support wildcard subdomain. I had asked them about that. I read through a lot of tutorials and on this forum (and your wpmu form as well andrea_r – it’s awesome!).

    Finally: another question here, I’m afraid:
    In the automated email I received upon creating the subdomain, I have a username and no password. Yet when I go to the subdomain.tld.com/wp-admin I have to enter the same username & password as the super-admin… Shall I just leave it as it is or should I set a different user & password for the subdomain (for security I mean)?

    Thanks for the wpmututorials.com link. It explains what I was looking for :o)

    Lee

    (@diondeville)

    Eltioska, are you trying to give me a heart attack??? Glad you got it up and running ??

    Andrea_r, yep, I should have mentioned the host needs to support Wildcard DNS. It is written in the guide, I’ll make it clearer though.

    Eltioska, WP3 will create a new password for new users, I’m not aware that it will create multiple passwords for current users. You can add individual users for each blog which will necessitate individual passwords for each user:

    1. Super User>Sites
    2. Choose “edit” under the site name
    3. Look at the right-hand panel and you will see Site Themes, Site Users, Add New Users

    In the automated email I received upon creating the subdomain, I have a username and no password. Yet when I go to the subdomain.tld.com/wp-admin I have to enter the same username & password as the super-admin… Shall I just leave it as it is or should I set a different user & password for the subdomain (for security I mean)?

    the same is fine because it’s another one of your sites. See Dashboard -> My sites.

    Multiple sites with the same username & password is part of the point. ??

    Thread Starter eltioska

    (@eltioska)

    @diondeville: Hey, I told you I’m new to this! :o))

    Many many thanks for the info, both you and andrea_r. I’m really grateful.

    On the user & password thingy, I just wanted to make sure I understood correctly. Now that you explained it, of course that the same user will keep the same password (duh! to me). It just seemed weird that the notification said username: username & password: N/A. But now I got it figured, thanks to you. And I hope that your heart’s got no extra worries due to my na?vety ;o)

    Just for better future searches, I’m gonna put this text here (they were searches I was making on google):

    “setting up wordpress 3.0 multisite on just host”
    “wordpress mu on just host””
    “how to set up wordpress 3.0 multisite just host”

    thanks a lot
    peace and ‘armony
    ska

    Eltioska: Can I ask you, when you installed WP initially, did you use JustHost’s install or did you do it manually?
    I’m asking because MS isn’t showing up in my dashboard after adding the proper line to wp-config.php so I questioned them about it. They tell me that if I used them to install WP, it’s not supported.
    ???
    Their answer to me: Hi Janice,How did you install your wordpress ?
    If you did that through Fantastico then it does not allow to install WordPress MU .
    You will need to install WordPress Mu manually.

    They won’t on to ‘advise’ me to uninstall theirs and reinstall manually. WIthout bothering to tell me that I’d lose all my stuff. If they had told that to a brand new user? omg.

    Anyways – did you use them? ??

    I have no idea what to do now.

    PS – thanks SO much for the foresight in quoting ‘justhost’ in your last post. Led me right here! ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Can I use WP3.0 with multisite function running from a subdirectory?’ is closed to new replies.