Title: Multisite
Last modified: September 14, 2020

---

# Multisite

 *  [mildqqwild](https://wordpress.org/support/users/mildqqwild/)
 * (@mildqqwild)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/multisite-590/)
 * Hi,
 * I try to convert one wordpress to multisite. The main website is working well.
   Once I open My Sites => app.marbasket.com => Dashboard, it errors “404 Not Found”
   and the website come up with “This is default server vhost. There is nothing 
   here. I follow the step to set up the multisite, but I don’t know whether I miss
   any.
 * Add code in wp_config.php
 *     ```
       /*Multisite*/
       define('WP_ALLOW_MULTISITE', true);
   
       define('MULTISITE', true);
       define('SUBDOMAIN_INSTALL', true);
       define('DOMAIN_CURRENT_SITE', 'www.marbasket.com');
       define('PATH_CURRENT_SITE', '/');
       define('SITE_ID_CURRENT_SITE', 1);
       define('BLOG_ID_CURRENT_SITE', 1);
   
       /* That's all, stop editing! Happy publishing. */
       ```
   
 * Code in file.htaccess
 *     ```
       # HTTPS forced by SG-Optimizer
       <IfModule mod_rewrite.c>
           RewriteEngine On
           RewriteCond %{HTTP_HOST} !^www\. [NC]
           RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
           RewriteCond %{HTTP:X-Forwarded-Proto} !https
           RewriteCond %{HTTPS} off
           RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
       </IfModule>
       # END HTTPS
       SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
   
       SetEnv PHPRC/Home/Customer/www/marbasket.com/public_html/php.ini
       # BEGIN WordPress
       # The directives (lines) between "BEGIN WordPress" and "END WordPress" are
       # dynamically generated, and should only be modified via WordPress filters.
       # Any changes to the directives between these markers will be overwritten.
       <IfModule mod_rewrite.c>
   
       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]
       </IfModule>
   
       # END WordPress
       ```
   
 * Please kindly help to advise.
    thank you
    -  This topic was modified 5 years, 9 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
    -  This topic was modified 5 years, 9 months ago by [James Huff](https://wordpress.org/support/users/macmanx/).
      Reason: redundant link removed
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmultisite-590%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [girl_number_5](https://wordpress.org/support/users/trutherone/)
 * (@trutherone)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/multisite-590/#post-13407030)
 * Hi
    Did you setup wildcard domains in your CPanel? you’ll need to do this to 
   ensure any subsite is recognised as a subdomain of, `marbasket.com` Your wild
   card should look like this: *.marbasket.com
 * Also noticed in your settings:
    define(‘DOMAIN_CURRENT_SITE’, ‘www.marbasket.
   com’); You may not need the ‘www’ part – though it may be option
 *  Thread Starter [mildqqwild](https://wordpress.org/support/users/mildqqwild/)
 * (@mildqqwild)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/multisite-590/#post-13411443)
 * Hi,
    Thank you. I have done set up subdomain and open wild card, but it still
   error as above. I cannot take www out. The network will get error.
 * The page errors with ;
    404 – Not found We searched the space, but we couldn’t
   find the page you’re looking for.
 * Anyway, I decide to stop to change my website to multisite. I try to make one
   multisite from the beginning and it has no problem. I may try to start multisite
   again, not convert site to multisite.
 * thank you very much.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Multisite’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 2 replies
 * 2 participants
 * Last reply from: [mildqqwild](https://wordpress.org/support/users/mildqqwild/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/multisite-590/#post-13411443)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
