i have main domain on my server
www.maindomain.com
many domains are on this server and i need to show what is on other domains
www.maindomain.com/example.com
this will show example.com, but in browser will be www.maindomain.com/example.com
path is: /var/www/example.com/web
i need it because some people have sites on other server (some webhosting company), DNS is set to that server, but if they want to go to my server, they need to see and set their sites sooner as all is redirected to my server.
What is best solution in apache for this? Is it possible to do it for all sites automaticly?