1.你得有一个域名
2.Get an elastic IP address from amazon
3.assign the elastic IP address to your instance through the aws management interface
4.Point your domain to your elastic IP address using your registrar's DNS tools
大哥我相信你能看懂 我直接copy过来的话来自http://stackoverflow.com/questions/12899887/how-to-change-public-dns-in-amazon-ec2