Several domain names share a common host and point to different project instances (different directories)? Use nginx!
Add virtual machine configuration in nginx/conf/vhosts/ and set different root directories and host names. Then include the virtual host configuration file you created in nginx/conf/nginx.conf.
Then restart nginx.
Add virtual machine configuration in nginx/conf/vhosts/ and set different root directories and host names. Then include the virtual host configuration file you created in nginx/conf/nginx.conf.
Then restart nginx.