• I have searched through the forums and found that some people had similar issues, but none of the suggestions have solved my problem.

    I have setup a new multisite install with subdomains at aquilesdesign.com and I activated wild card subdomains at Bluehost.com

    On the network admin dashboard, everything appears to be working correctly, so I added a test site at yuntatours.aquilesdesign.com When I try to access that site’s dashboard through the following link (https://yuntatours.aquilesdesign.com/wp-admin), or through the “My Sites” section in WordPress, I get the following error:

    Not Found
    The requested URL /wp-admin/ was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    However, I am able so access yuntatours.aquilesdesign.com and view the homepage, and I can access the dashboard for yuntatours.aquilesdesign.com by going to yuntatours.aquilesdesign.com/wp-login.php

    Does anybody happen to know what went wrong and how to fix it?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter kylefitzp

    (@kylefitzp)

    Hi,

    I was able to get everything to work, by wiping my wp install and starting over. I think I did something wrong with the htaccess code the first time around.

    Hey Kyle, I’m having the same issue! I can’t login to my sub domain dashboard! Besides having to wipe out everything, did you find what was causing this?

    Thread Starter kylefitzp

    (@kylefitzp)

    Hi Davide, I never found out what was wrong. When I reinstalled it, everything worked fine, so I’m guess that I did something wrong during setup. Sorry that I can’t help more.

    Good Luck!

    Subrata Sarkar

    (@subrataemfluence)

    Hello,
    This is kind of a late reply and hope you have already figured out a solution. However, what worked for me was by replacing WP default .htaccess content for multisite network with the following:

    
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    
    sarao06

    (@sarao06)

    I had the same issue but I double checked the .htaccess file and I pasted the same texts but the error still exist.

    Subrata Sarkar

    (@subrataemfluence)

    Ok, here are the complete steps what I did. Please note I am using Ubuntu.

    1. Modified .htaccess file as described in my previous message.

    2. Added 3 entries in /etc/hosts file

    127.0.0.1 mainsitelocal.com
    127.0.0.1 sd1.mainsitelocal.com
    127.0.0.1 sd2.mainsitelocal.com

    2. Following Directory entry added in /etc/apache2/apache2.conf file

    <Directory /var/www/html/multisite>
       Options Indexes FollowSymLinks
       AllowOverride All
       Require all grant
    </Directory>

    3. Enabled main domain and sub domains (or me it is local Ubuntu environment). To do that first create three copies of 000-default.com.conf as follows:

    $sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/mainsitelocal.com.conf
    
    $sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/sd1.mainsitelocal.com.conf
    
    $sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/sd2.mainsitelocal.com.conf

    Once you have all those, edit them separately:

    mainsitelocal.com.conf

    ServerAdmin [email protected]
    ServerName mainsitelocal.com
    DocumentRoot /var/www/html/multisite

    sd1.mainsitelocal.com.conf

    ServerAdmin [email protected]
    ServerName sd1.mainsitelocal.com
    DocumentRoot /var/www/html/multisite

    sd2.mainsitelocal.com.conf

    ServerAdmin [email protected]
    ServerName sd2.mainsitelocal.com
    DocumentRoot /var/www/html/multisite

    4. Enable all the above sites

    $ sudo a2ensite mainsitelocal.com
    $ sudo a2ensite sd1.mainsitelocal.com
    $ sudo a2ensite sd2.mainsitelocal.com

    Once you do it, you would see three new files are added under /etc/apache2/sites-enabled directory with the same content as they have in sites-available directory.

    5. Reload / Restarting Apache service
    $ sudo service apache2 reload OR $ sudo service apache2 restart. If you get any WARNING while using restart, ignore it.

    That’s it! You should now be all set and ready to go.

    Let me know if this helps.

    sarao06

    (@sarao06)

    How will I do this? SOrry I can’t understand the instruction well. I feel like the explanation is complicated. I’m sorry. Also, how would I do this on windows?

    Subrata Sarkar

    (@subrataemfluence)

    In that case you can try https://premium.wpmudev.org/blog/how-to-set-up-wordpress-locally-for-pcwindows-with-wamp/ and scroll to “Setting up WordPress Multisite” section of the tutorial.

    And for subdomain setup on windows you can try this:
    https://blog.droidzone.in/2012/08/24/working-with-wordpress-multisite-sub-domain-install-on-localserver-in-wamp/

    sarao06

    (@sarao06)

    Problem is, I didn’t install WordPress in my computer. I installed it with a hosting provider.

    Sara our contributor Subrata is giving you good professional suggestions. I encourage you to go through the links he provided and complete them. Both of the instruction links will set up wordpress on your Windows based PC. This is a task we each need to learn and know to be able to market websites with wordpress.

    If this does overwhelm you then you can get someone to help you on Fiverr.com. I know WordPress but I have used Fiverr a few times when I got stuck.

    Tony in Texas

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Can’t access sub-domain dashboard of multisite network’ is closed to new replies.