• Hi guys,

    Im wondering here how am I going to set up new sites in form of :
    https://demo.domain.com/test1, https://demo.domain.com/test2, https://demo.domain.com/test3 etc ?

    I have set up the network, which is ready and I also have in the config file this:

    define('WP_ALLOW_MULTISITE', true);
    
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'demo.domain.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    And in the .htaccess I have this :

    RewriteEngine On
    RewriteBase /
    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]

    I have also created a subdomain in cPanel having it pointing at a new folder called /demo
    Should this subdomain be pointing at the root maybe?

    Currently Im not being able to see the newly created sites.

    In the DNS zone those records has been created:

    demo.domain.com. 14400 IN A “IP number”

    https://www.demo.domain.com. 14400 IN A “IP number”

    Important to mention that I do get this when entering : demo.domain.com on the browser:

    Index of /demo

    Parent Directory
    cgi-bin/

    Anything I have done wrong and Im still not able to see the new sites?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter John Frusciante

    (@gregykos)

    Important to add that the mail worpdress installation is at the moment installed at the root of the domain, which means-> domain.com

    Do I maybe need a new installation in demo.domain.com and then enable multisite to be able to have a multisite network of demo.domain.com/test1 ??

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Either install WP in demo.domain.com OR install in domain.com, make a subdomain site for demo, and then use a multi-network plugin to manage sub-sub sites.

    Thread Starter John Frusciante

    (@gregykos)

    Thats what I did. Have it installed in domain.com and set up the networdk to run on demo.domain.com but the new sites that I create do not show up. Gives me a white page..

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    White page is a PHP error. Did you delete the default theme (Twenty Thirteen)?

    Thread Starter John Frusciante

    (@gregykos)

    No, the opposite. I activated that theme ..

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Well then, you get to turn on error debugging and see what pops up :/

    I’m assuming you’ve got all plugins turned off for your demo site?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Multisite for demos’ is closed to new replies.