WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Sub-directory site not showing theme (18 posts)

  1. bubbalou
    Member
    Posted 3 years ago #

    I'm trying to setup multisite to run a network of sites with different domains. I got the network installed and am almost sure that I configured the domain for the first (test) sub-directory site properly, using the WordPress MU Domain Mapping plugin, but when I try to assign a theme to it from the admin panel, it does not show up when I try to view the site directly. I activated the theme from the admin dashboard>themes, and when I accessed the dashboard for the sub-directory site, the theme is there also, and I can add content and manipulate it all I want. But, when I visit the site by typing in the url or view from WP, I was first seeing my web host's default page for for that domain. I removed the default.html file and now the default is just the index files in the folder. Both 'www.site/sub-directory_site' and 'www.sub-directory_site.com' show the same default info, not the wordpress theme that I assigned. I found it interesting that there are no WP files are in the folder for the subdomain_site. I'm not sure if that is how it should be or not.

    Are there certain WP files that I need to put into the subdomain_site folder for it to work (I am on shared hosting), or could this be a configuration issue that I may have overlooked, and if so, what do you think that may be?

    Thanks in advance for the help!

  2. But, when I visit the site by typing in the url or view from WP, I was first seeing my web host's default page for for that domain.

    That normally means you didn't set up the domain mapping correctly.

    As for the theme, did that work BEFORE you set up domain mapping?

  3. dgilmour
    Member
    Posted 3 years ago #

    when I visit the site by typing in the url or view from WP, I was first seeing my web host's default page for for that domain.

    It sounds like you've done all the work at the WordPress end, but that your test subsite's domain name control panel hasn't been told to direct requests for pages on that domain to your WordPress install.

  4. sounds like you added the domain to the server and pointed it to the wrong folder. you need to point the mapped domain to the wordpress install.

    the sub sites are virtual - there is no folder for them on the server.

  5. bubbalou
    Member
    Posted 3 years ago #

    Thanks for the rapid response, guys!

    I contacted my hosting company, and got a rep that knew nothing about WP mulitsite, so he was of no help. I'm trying to figure it out myself, but I am not sure what the proper input is in the DNS Zone Editor>Add DNS Record of my Cpanel - and their instructions are a bit cryptic.

    Here's where I'm stuck:

    1)Under "Select a domain" - I'm thinking that I need to select my sub-directory's_domain.com, or should it be my main_domain.com?

    2)DNS Type: Should I select 'A' or 'CNAME'?

    3)Host Record & Points To: if I input my server IP as Host Record and then Point To is 'sub-directory_domain.com', wouldn't that make my sub site become my main site, and how do I distinguish different sites, since they will all have the same server IP? It seems as though the server IP is the only input that the field will accept, or there is a correct syntax for entering the sub domain that I am unaware of. Very confused here.

    Once I work these bugs out I can then plunge ahead with setting up additional sites.

    Thanks again for your all of your help!

  6. I don't expect most hosts to knoow about multisite, let alone domain mapping. ;) unless they are specifically a wordpress host, like pagely or wpengine.

    1)Under "Select a domain" - I'm thinking that I need to select my sub-directory's_domain.com, or should it be my main_domain.com?

    your main domain, like I said above.

    2 - A name

    3. no, it will not. remember shared hosts have hundreds of sites on one IP.

    also:
    http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/

  7. bubbalou
    Member
    Posted 3 years ago #

    Hi Andrea,
    thanks a bunch for all of your help. I went ahead and put in the correct protocols into the DNS Record section, and still can't get it to work. I was aware of Otto's site, and it helped me to configure the plugin earlier. It seems as if I may just have to go the long route of installing WP for each domain (arrrrghhhh!!). I am not usually whipped by stuff like this, but this one is a bear, and I've been fighting with it all day.

    If you have any more suggestions, I'm all ears. Thanks again for all of your help.

    Bubbalou

  8. what host are you on?

  9. bubbalou
    Member
    Posted 3 years ago #

    I'm with hostmonster.

  10. they have cpanel? where are your domains registered?

  11. bubbalou
    Member
    Posted 3 years ago #

    My domain is registered with godaddy, and I pointed it to hostmonster's servers.

  12. bubbalou
    Member
    Posted 3 years ago #

    Oh, yes, they do use cpanel.

  13. I am not sure what the proper input is in the DNS Zone Editor>Add DNS Record of my Cpanel

    actually, you didn't need to do that.

    you just park your mapped domain on top of the install. go to your domain registrar and make the A record the IP of your multisite install.

  14. bubbalou
    Member
    Posted 3 years ago #

    Andrea,
    you are not going to believe this, but WordPress MU Domain Mapping plugin has completely disappeared from my list of plugins. If I look at the plugins folder via ftp, I can see it right there. I deleted it and reistalled it a few times but it still didn't show. I'm scouring this forum and google to find a solution to this, and apparently, I'm not alone.

    Meanwhile, I went to godaddy and found the section where I would configure the A record.

    Thanks again for your help. I'll report back here as soon as I have the network up and running successfully.

  15. Is it in your mu-plugins folder?

  16. Are you looking under Network Admin -> Plugins to see it network activated?

    If it shows there, it will not show in the individual site's plugins listing. This is correct behavior.

  17. bubbalou
    Member
    Posted 3 years ago #

    Hi Andrea,
    I can't thank you and the other guys enough for all of your help.

    I think that maybe some of these details could be incorporated into the next edition of your excellent "Creating a Network in WordPress 3.1" manual, as it would certainly fill in a lot of blank spots for intermediate users like myself.

    Thanks again for all that you do for this forum and the WordPress community!

  18. The part relating to your original post is in there. ;) (near as I can remember it is anyway, near the end)

    Details about how to navigate around network admin will be in another one.

Topic Closed

This topic has been closed to new replies.

About this Topic