dimanche 28 juin 2015

How to point subdomain to another document root in aws

I am using AWS for the first time. I have created an ec2 instance and installed Apache server , made domain mapping from GoDaddy,

Now I want to create subdomains and point subdomains to the another document roots.

Like this :

www.mydomain.com should have domain root html\mydomain

http://ift.tt/1LwqfGO document root to html\testsubdomain directory.

www.*.mydomain.com document root to  html\subdomain directory
                           (* any subdomain other than test)

I tried to edit vhost file but could not find vhost file in apache server. Generally where and how to achieve this?

Do I need to use Route53 for this?




Aucun commentaire:

Enregistrer un commentaire