• Starting a brand new website and running into issues with setting up Multisite. i want to use subdomains (like username.my-domain.net ).

    I have WordPress set up for that by the instructions here.

    http://codex.wordpress.org/Create_A_Network

    (Thanks, Ipstenu!)

    Now I’m trying to configure the DNS side of things.

    I set up a ‘A’ record in my DNS on Godaddy.

    Host | Points To
    —————————
    * | IP Address of Server

    Then my Apache 000-default file:

    <VirtualHost *:80>
    DocumentRoot /var/www/websites/My Directory.net
    ServerName http://www.my-domain.net
    ServerAlias *.my-domain.net
    </VirtualHost>

    All well and good. I log in with no problem, although my browser points to my-domain.net instead of http://www.my-domain.net.

    When I try to go in to the Super-Admin dashboard, it logs me out and won’t let me log in. It tries to route me, I’ve noticed, to http://www.my-domain.net/wp-admin/network, but I can’t get to http://www.my-domain.net no matter what I try. It keeps taking me to my-domain.net without the “www”. Seems to me that it’s an Apache configuration issue.

    I get a lot of lines similar to this in the error.log:

    File does not exist:/var/www/websites/my-domain.net/users

    There shouldn’t even be a file called that, right?

    I’m a bit confused here and would appreciate some help.

    Thanks, all!

Viewing 1 replies (of 1 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Using mydomain.net, without the www, is greatly preferred for Multisite. I’d leave that alone personally.

    Remove WordPress.

    Reinstall at domain.com with both home and site URLs to be domain.com

    Mixing www and non-www will, indeed, mess ya up 🙁

Viewing 1 replies (of 1 total)
  • The topic ‘Configuring DNS’ is closed to new replies.