WordPress has made it easier to create multiple WordPress sites on one server. You have to follow four steps to create multiple WordPress sites.

1. Setup your WordPress Installation

After installation, modify your WordPress configuration and activate the multisite networking.
Add the following line above “/* That’s all, stop editing! Happy blogging. */” in wp-config.php

/* Multisite */
define('WP_ALLOW_MULTISITE', true);

2. Setup Multiple WordPress Sites

Go into your WordPress dashboard and select Tools -> Network Setup
Select Sub-domains or Sub-directories and once you have filled out the required fields click on install button
Next you can see two code boxes

i. Edit the wp-config.php and paste this above the line /* That’s all, stop editing! Happy blogging. */:

define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
$base = '/';
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

ii. Finally, edit the htaccess file and replace code by using this code:

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).*) $1 [L]
RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
RewriteRule . index.php [L]

After making all of the necessary changes in config.php and htaccess files, log into WordPress again.

3. Setup Your New WordPress Site

After log into admin panel again, you will notice that the header bar now has a section called, “My Sites” instead of simply displaying your site name.

To create your new site go to My Sites -> Network Admin, and clicking on Sites