I am too new in server technology. I have some problem with configuration of multi frameworks in single domain.
The scenario is, i have a folder structure like below
/web
/project-angular
/dist/index.html
/project-aurelia
/index.html
/project-wordpress
/index.php
I need to setup these projects with single domain with conditions are :
1 if user access domain.com then need to run project-angular/dist/index.html
2 if user access domain.com/blog/(*) then need to run project-wordpress/index.php
3 if user access domain.com/(*) then need to run project-aurelia/index.html
I am trying this experiment on my local so i have access of each files.
Please suggest how i can achieve this. I have tried with .htaccess but it is like foreign language for me.
Edit :
I don't want to redirect users to another domain. I just want that if access the domain.com then according to above description folder code should run.
Thanks.