Setting up Amazon EC2 and Namecheap and subdomain?

I bought a domain from Namecheap, and I have all my files hosted on EC2. I put my A addresses on Namecheap on my elastic IP and while it works.

When I try to create subdomains ( using this guide ) on my Apache vhost, but there is no connection. Do I need to configure anything specific in a Namecheap or EC2 host entry?

I am running a standard Ubuntu virtual server with LAMP. I tried the usual things like restarting Apache and checking the error logs (nothing found).

+4
source share
1 answer

, ip, DNS namecheap, apache -/, .

+5