How can i point wildcard domains to a folder in apache
Posted
by
Abishek R Srikaanth
on Pro Webmasters
See other posts from Pro Webmasters
or by Abishek R Srikaanth
Published on 2012-08-22T20:40:13Z
Indexed on
2012/09/22
9:50 UTC
Read the original article
Hit count: 412
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.
© Pro Webmasters or respective owner