WordPress.org

Forums

Adding Sub domains to multi site vhost. (15 posts)

  1. Rocky074
    Member
    Posted 1 year ago #

    Hi,
    I have had a good look through the forums but can't find an answer to my problem.
    I have WP installed locally on wamp. Also have multisite installed. I am looking to add sub domains to my network but when I add these to my network and click on their dashboard link then they cant be found.
    I am guessing this as a link error but not sure where to look. Wildcard dns is enabled.
    This thread was informative but I got a bit lost with pointing the new name DNS bit.
    http://wordpress.org/support/topic/how-can-i-install-subdomains-within-wordpress-multi-site?replies=20
    You can probably tell that I need things explaining simply. :)
    Thanks for any help.

  2. Rocky074
    Member
    Posted 1 year ago #

    Update:
    Problem still not sorted but I did go back into the WP network dashboard and added a new site using just "test" in the site address and site name, added an email address. Added site and when I then clicked on the My Sites dropdown menu it doesn't show, I can only view it by clicking on Sites in the Network Admin area.
    Anyone like to offer an explanation?
    Thanks

  3. when I add these to my network and click on their dashboard link then they cant be found.

    What do you mean by that? What's the actual error you're getting? What is it formatted like?

  4. Rocky074
    Member
    Posted 1 year ago #

    Hi Mika,
    I have added a site to multisite called location. On My sites drop dowm it doesn't show as a new site so I have to find it via Network Admin, Sites. The location settings show the domain as http://location.dev If I then click on location.dev dashboard the browser shows http://location.dev/wp-admin/ and the error message on that page is http 404 not found.
    I hope this helps.(BTW I enjoyed your video on why not to use multisite :) )

  5. Is the account you're logged in with a member of that site or are you just the super admin?

    My Sites lists sites your account was specifically added to.

  6. Rocky074
    Member
    Posted 1 year ago #

    I am not too sure what you mean but yes, I am super admin.

  7. Rocky074
    Member
    Posted 1 year ago #

    One thing that I have noticed, when in the admin area and I click on location, dashboard. the url automatically changes to http://location.dev/wp-admin. The wp-admin is not in dark grey like location.dev and I get the http 404 not found error at this point.
    If however I click on the sites, location, visit site, this takes me to http://location.dev/ and brings up a welcome page which I added as a location/index.php page locally.
    Not sure if any of this helps but I reckon the more I can tell you the better my chances in getting this resolved.
    Thanks

  8. Super Admin has access to everything, regardless of if they're added to a specific site or not.

    Unless you add the Super Admin account to the site, it won't show up on 'My' sites, because it's not your site :)

  9. Rocky074
    Member
    Posted 1 year ago #

    Yes, I as Super Admin am an administrator to this site but it makes no difference.

  10. If however I click on the sites, location, visit site, this takes me to http://location.dev/ and brings up a welcome page which I added as a location/index.php page locally.

    Wait ... WAIT.

    You edited the index.php file? The default WP files you need to leave ALONE. Do not mess with them.

  11. Rocky074
    Member
    Posted 1 year ago #

    You mis-understand.
    the index.php file to which I refer is not a default WP file. It is a file within my local set up. http://location.dev is a locally hosted site of which the index.php is a page within that I added which has a small amount of text then when opened shows me that I have found the right page.
    Can you offer me any advice how I can resolve the problem that I have?

  12. I ... would if I understood at all what your setup was...

    The location settings show the domain as http://location.dev If I then click on location.dev dashboard the browser shows http://location.dev/wp-admin/ and the error message on that page is http 404 not found.

    So. THIS means you have WP installed in location.dev

    BUT at the same time you just said it's NOT WordPress.

    Let's step back.

    In what folder is WP installed?

  13. Rocky074
    Member
    Posted 1 year ago #

    Hi Mika,
    I appreciate your time in trying to resolve this and I hope you will bear with me in my lack of knowledge.
    The setup that I have locally is:
    c:websites/wp-multi/www/
    and then within that folder are other folders:
    location
    wp-admin
    wp-content
    wp-includes
    and listed below that are the files extracted from WP starting with .htaccess and down through to xmlrpc.php.
    the index.php file that I was referring to is located in the location folder.
    I hope that this clarifies my set up. If there is a possibility that this is wrong it is a set up that was installed by a moderator on the wampserver forum via teamviewer. He was the one who origianated the index.php folder.
    Thanks
    Thanks

  14. Since formatting was lost, is wp-admin and all the WP folders INSIDE location ?

  15. Rocky074
    Member
    Posted 12 months ago #

    No,
    location is just a folder within c;websites/wp-multi/www/
    there is only one thing in that folder, the index.php to which I referred earlier.

Topic Closed

This topic has been closed to new replies.

About this Topic