Configure the name of this 127.0.0.1 virtual domain name under the C:\Windows\System32\drivers\etc\hosts file
Fill in the following code below the vohosts file:
<VirtualHost *:80>
DocumentRoot "E:\phpStudy\WWW\Project Name"
ServerName The name of the virtual domain name
ServerAlias The name of the virtual domain name
</VirtualHost>
restart phpstudy