• Resolved wwcanoer

    (@wwcanoer)


    How to clean install multisite domains?
    Want:
    sparkyandbear.com
    homeschool.sparkyandbear.com
    travelschool.sparkyandbear.com
    etc.

    Using shared webhosting: niagahoster.co.id

    Installed WP via Softaculous, which placed it in: public_html\wp

    I read one instruction that says that WP must be installed in the root directory (i.e. public.html?) but another instruction that said that is no longer necessary.

    Question #1: Do I need to manually reinstall in public_html? (Since I don’t recall Softaculous providing any directory/folder options.)

    Question #2: What should the resulting URLs and file directories look like? Should I expect to see homeschool & travelschool folders somewhere? (or is it all handled in the database?)

    Question #3: What is the current accurate installation guide? I have read through a couple that are the same/similar but neither goes all the way to show me what the result should look like. (ex. should I see folders with my sub-domains somewhere?)

    Question #4:
    What do they mean by “wildcard redirection”?
    Having every *.sparkyandbear.com sub-domain automatically redirected? (That’s what it looks like in the instructions)
    or having all the sub-folders and files redirected?
    or both? (My assumption, but I have tried all combinations.)

    Question #5:
    If they mean a wildcard to redirect all domains, then that would prevent me from having another sub-domain redirected somewhere else? Or does do the explicit redirects all happen before the * sub-domain redirects?

    It feels like something is wrong with the redirection. I have tried the instructions and then every combination that I can think of and nothing works.

    I tried the wildcard method and tried individually by domain, but neither works.

    If I redirect https://homeschool.sparkyandbear.com
    to https://homeschool.sparkyandbear.com/wp/
    then in Network Admin “Sites” list,
    the homeschool “Dashboard” link is: https://homeschool.sparkyandbear.com/wp/wp-admin/
    and “Visit” link is:
    That gives error:
    “Internal Server Error.
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator at webmaster@homeschool.sparkyandbear.com to inform them of the time this error occurred, and the actions you performed just before this error.
    More information about this error may be available in the server error log.
    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.”

    Manually going to https://homeschool.sparkyandbear.com
    redirects to https://sparkyandbear.com/wp/wp-signup.php?new=homeschool
    which is the main domain and the message “Greetings Site Administrator! You are currently allowing “none” registrations. To change or disable registration go to your Options page.”

    I have copied the Network setup settings
    wp-config.php file:
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, true);
    define(‘DOMAIN_CURRENT_SITE’, ‘sparkyandbear.com’);
    define(‘PATH_CURRENT_SITE’, ‘/wp/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);.

    and .htaccess

    RewriteEngine On
    RewriteBase /wp/
    RewriteRule ^index\.php$ – [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    Created ssl certificates for each domain.

  • The topic ‘How to install multisite domains? Having problems.’ is closed to new replies.