I have successfully installed wordpress multisite on localhost. When I then add a new site as a subdomain. subdomain/domain.localhost. This does not create and files in the directory under the domain.
Steps
1. Add Domain. domain.localhost.
2. Install Wordpress multisite to the directory domain.localhost
3. Amend wp_config.php
define('SUBDOMAIN_INSTALL', true);
4. Add Domain.
Domain subdomain.domain.localhost
Path. /Applications/AMPPS/www/domain.localhost/subdomain
5. Wordpress
My sites -> Sites -> Add New -> Site Address
subdomain.domain.localhost
6. Issue
No files are installed in the subdirectory
domain.localhost/subdomain
Question
Can wordpress be installed as multisite on localhost.
If so , can you provide the instructions.