简体   繁体   中英

Amazon EC2 and Namecheap domain & subdomain setup?

I bought a domain from Namecheap and I have all my files hosted on EC2. I set my A Addresses on Namecheap to my elastic IP and so far it's working.

When I try to create subdomains ( using this guide ) on my Apache's vhost but there is no connection. Do I need to set up anything specific in the Namecheap host records or EC2?

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

如果您想使用子域,您还需要将该子域指向弹性IP以及您的namecheap DNS,然后将apache中的子域绑定到它应该提供文件的网站/位置。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM