• Resolved drake2k

    (@drake2k)


    What I have:
    I’m hosting my own server with unlimited access to all things.
    Sever is Ubuntu 14.04 – WordPress 4.1 (Latest)
    I’m hosting this from home so I use a Dynamic-DNS (freedns.afraid.org) service.
    My Domain Name is cp-fc.com

    What I’ve Done:
    I’ve setup my domain cp-fc.com so I can go to cp-fc.com OR https://www.cp-fc.com
    I then setup a subdomain of calimar.cp-fc.com
    All records were updated with my Dynamic-DNS
    I placed a test index.html in my /var/www and /var/www/calimar folders
    Both index pages showed up just fine when visiting them from the web.
    I then deleted both index.html files and installed wordpress with multisite support.
    The installation as best I could tell was flawless. There was only ONE thing I had to do differently.
    In the /var/www/wp-config.php there is the line:
    define(‘DOMAIN_CURRENT_SITE’, ‘YOUR IP ADDRESS HERE’);
    Now, since I’m using dynamic dns service I wasn’t sure what to put so I put this instead:
    define(‘DOMAIN_CURRENT_SITE’, ‘cp-fc.com’);
    which may or may not be part of my problem.

    Where I’m stuck:
    https://www.cp-fc.com and cp-fc.com both show up with my wordpress test page beautifully. When I go to My Sites > Sites I try to create a new site. I want to have the subdomain calimar.cp-fc.com with it’s own site. So for domain I put htt://calimar.cp-fc.com, then for Path I leave it blank (tried putting /calimar there too but then it tries to go to http:calimar.cp-fc.com/calimar and there is no such site since apache2 is setup so that /calimar is the root of that subdomain) and have a check mark for Update siteurl and home as well.
    I save changes and the word press takes it just fine. However when I go to visit the site, only the index of the directory shows up.
    ls /var/www/calimar shows no files at all.

    So that’s where I’m stuck. Any ideas?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter drake2k

    (@drake2k)

    PS: for giggles (because I read something in another forum) I made sure that a theme (Twenty Fourteen) was enabled just in case.

    Thread Starter drake2k

    (@drake2k)

    I made some progress… apparently the subdomain_install line was set to false and I needed to change it to ‘true’.

    Well that fixed things on the administration side where when I create the site it’s asking for the right information and what not.

    But no files are being created in the root of the subdomain nor any directories. Permissions issue? Maybe I should try to go back to the installation tutorial and use the permissions modifications on the /var/www/calimar directory the same as I did for the root. Maybe I could also try copying the .htaccess file from the root to that directory as well?

    Wouldn’t hurt to try. Wish me luck.

    Thread Starter drake2k

    (@drake2k)

    No dice.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I placed a test index.html in my /var/www and /var/www/calimar folders

    That’s wrong.

    The subfolders are virtual. Delete calimar. Make the calimar subdomain point to /var/www/ and WordPress does the rest.

    Thread Starter drake2k

    (@drake2k)

    Thank you very much Mika. This seems to be the trick I needed to know. Unfortunately I found out later that I won’t be able to use wordpress multi-site because I’m not on the standard port 80.

    I was doing all the work locally so the ports weren’t an issue but when opening up to the real world…well, I think you know what happens there. ??

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Multisite won’t work if you have to define the ports BUT…

    If domain.com loads the site (and you don’t HAVE to put in domain.com:81) then Multisite is fine.

    Thread Starter drake2k

    (@drake2k)

    That’s good news. Thank you for the reply. I do hope this helps someone else out later. As it turns out I scrapped the whole (host my own server) idea and went with a paid hosting service. There were many other things that had far more issues then WordPress. WordPress seems to be VERY solid software.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Multisite Subdomain subdirectories empty’ is closed to new replies.