multi sites – Page not found while accessing website content

I have set up a Drupal website version 9.2.1,the website was working fine I can login ,logout and accessing the website content until I set up the multisite there.

  • I have the master site in the main directory for Xampp(htdocs)
    C:xampphtdocs with directory name master.com

  • Then I created six multisites in this location :
    C:xampphtdocsSpeakFreely.comsites with the following
    directories:
    site1.com , site2.com, site3.com, site4.com, site5.com, site6.com.

  • I updated the hosts file C:WindowsSystem32driversetcas below :

127.0.0.1  localhost
127.0.0.1  master.com
127.0.0.1  site1.com
127.0.0.1  site2.com
127.0.0.1  site3.com
127.0.0.1  site4.com
127.0.0.1  site5.com
127.0.0.1  site6.com 
  • I updated the httpd-vhosts.conf in this location : C:xamppapacheconfextra as below :
<VirtualHost *:80>
   ServerName master.com
   DocumentRoot "C:/xampp/htdocs"
</VirtualHost>

<VirtualHost *:80>
   ServerName site1.com
   DocumentRoot "C:/xampp/htdocs/master.com"
</VirtualHost>

<VirtualHost *:80>
   ServerName site2.com
   DocumentRoot "C:/xampp/htdocs/master.com"
</VirtualHost>

<VirtualHost *:80>
   ServerName site3.com
   DocumentRoot "C:/xampp/htdocs/master.com"
</VirtualHost>

<VirtualHost *:80>
   ServerName site4.com
   DocumentRoot "C:/xampp/htdocs/master.com"
</VirtualHost>

<VirtualHost *:80>
   ServerName site5.com
   DocumentRoot "C:/xampp/htdocs/master.com"
</VirtualHost>

<VirtualHost *:80>
   ServerName site6.com
   DocumentRoot "C:/xampp/htdocs/master.com"
</VirtualHost>

  • I updated sites.php in this location C:xampphtdocsSpeakFreely.comsites as below:
$sites('site1.com') = 'site1.com';
$sites('site2.com') ='site2.com';
$sites('site3.com') ='site3.com';
$sites('site4.com') ='site4.com';
$sites('site5.com')='site5.com';
$sites('site6.com') ='site6.com';

what I’m facing now I couldn’t access the website content, structure, login ,logout I always get the message page not found!! the other six sites are working fine.
one more thing why I have the URL for the master site as localhost/master.com ,is there is a way to make the URL as master.com?
Any help!!