• Resolved championc

    (@championc)


    Hi all,

    I want to setup an installation with subdomains. According to the instructions, I should setup the installation in the root directory. However, my hosting is setup like

    -/
    -/public_html/
    ————-/mydomain.com/

    Therefore, to install WP properly, it would install the WP installation into /public_html/mydomain.com/……

    Is this OK or do I have to do something with the wildcard record to fudge finding the domain at /public_html/……

    I hope I’ve made myself clear enough.

    Regards
    C

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter championc

    (@championc)

    I should have mentioned that I have more than one Domain on my hosted account. So another domain has taken the /public_html/ as it’s root.

    So do I have to add WP to this other domain and then have multi-site to drive access to mydomain.com ?

    This is just a guess since I have only been doing any of this for just over a year, but I suspect those instructions about how to have more than one domain at a given server come from the days prior to hosts providing systems that handle primary domains and add-ons in mutually-exclusive ways.

    So do I have to add WP to this other domain and then have multi-site to drive access to mydomain.com?

    No, not at BlueHost, and I would assume that is not only at BlueHost. My primary domain was initially installed inside public_html, and I have since moved it into its own folder next to my add-ons…and I have only had to add an htaccess file to public_html in order to make my primary domain work exactly as it always has and without modifying or changing anything anywhere else at all. Overall, none of my completely-separate WordPress installations are in my “root” (public_html) folder at the server and yet each of them think they are (and while know nothing at all of any of the others) and all of that is handled by my host, not by WordPress.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    However, my hosting is setup like

    -/
    -/public_html/
    ————-/mydomain.com/

    Before we get too deep into this, how to you access mydomain.com? Do you go to mydomain.com or mydomain.com/folder

    If you access it via mydomain.com then it’s okay, you’re in the root of that domain ??

    Thread Starter championc

    (@championc)

    I contacted my hoster and changed my root domain to /public_html/. It WAS in a subdirectory but now it’s the root.

    I’m looking for instructions for setting it up. I’ve found conflicting stuff like Domain Mapping plugins, Sunrise.php and other stuff whereas another guide mentioned nothing of this stuff.

    All I want is one install that can do three domains

    mydomain.com
    blog1.mydomain.com
    blog2.mydomain.com

    And if I want to add blogs3, 4 and 5, then I can simply do this

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I contacted my hoster and changed my root domain to /public_html/. It WAS in a subdirectory but now it’s the root.

    That’s not really what we mean by ‘root’ but I get why it’s confusing ??

    Add-on domains and subdomains OFTEN are located in /public_html/domain.com or /public_html/subdomainname/

    Those ARE the ‘root’ of those add-ons and subdomains, so it’s okay ??

    All I want is one install that can do three domains

    mydomain.com
    blog1.mydomain.com
    blog2.mydomain.com

    No plugin needed.

    1) Activate Multisite as SubDOMAINs
    2) Make sites

    You MAY need to set up wildcard subdomains for this, but ask your host. It’s done on your host’s end, not WP.

    Thread Starter championc

    (@championc)

    My DNS Zone is hosted by a different hoster than the actual domains / websites themselves

    The domain / website is configured with cPanel. In the Domains section within cPanel, there is an option for Simple DNS Zone Editor. In there, I have added a
    *.mydomain.com A Record

    Is this where you were suggesting I would be setting up wildcard subdomains or is there somewhere else where it needs to be defined ?

    Thanks
    C

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Please don’t sign your posts. We can see who you are by your name there to the left of your posts ??

    Is this where you were suggesting I would be setting up wildcard subdomains or is there somewhere else where it needs to be defined ?

    Yes and no. Yes, you need to set that up. But you ALSO need to set up on your host to be able to USE wildcard subdomains.

    On cPanel, you can make a subdomain of * (yes, * ) and it will point to /public_html/ – If you don’t know how to do that, you can ask your host.

    Thread Starter championc

    (@championc)

    when I try

    secondary.syngestreet.com/index.php

    Alas, I still get

    404 Not Found
    The server can not find the requested page:

    secondary.syngestreet.com/index.php (port 80)
    Please forward this error screen to secondary.syngestreet.com’s WebMaster.

    Do you reckon this is a server setup issue or a WP config setup issue ?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Server setup issue.

    On cPanel, you can make a subdomain of * (yes, * ) and it will point to /public_html/ – If you don’t know how to do that, you can ask your host.

    That is your problem. Your SERVER does not know what to properly do with subdomains. They’re pointing to their own locations instead of to syngestreet.com

    Ask your host for help, since ever host is a little different.

    Thread Starter championc

    (@championc)

    My hoster has just replied with the following. From what I have read already, my hoster is Incorrect – yes ? My understanding is that you are just making it virtually somehow.

    Dear Customer,

    As we can see domain subdomain “secondary.syngestreet.com” isn’t existed on the server. So, please make sure that you’ve created it in cPanel and wait until DNS propagation won’t ended for it. Usually it may takes up to 48 hours.

    Thread Starter championc

    (@championc)

    Finally got sorted

    You were correct in that I did indeed need to point my subdomains at the directory where WP had been installed.

    I also needed to create subdomains on my hosted servers’ cPanel

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Installation DIrectory question’ is closed to new replies.