How can i point wildcard domains to a folder in apache
- by Abishek R Srikaanth
I am developing an app using PHP and deploying it on Apache on the Amazon AWS environment.
This app requires to be made available to customers from their own chosen domain name?
How can i acheive this? For example
www.customer1.com = /var/www/myapp.mydomain.com
www.customer2.com = /var/www/myapp.mydomain.com
I would like to do this similar to how bitly enables shortened url's for custom domains.
www.myshrturl.com is dns configured to a CNAME - cname.bitly.com
Appreciate if someone could help me acheive this functionality.
If there are any other details required, please let me know, I shall update the same.