是这样的,我在亚马逊云上部署一个网站,现在直接敲IP地址就跳成http://ec2-54-66-161-74.ap-southeast-2.compute.amazonaws.com/,我想修改这个域名请问这么修改,比较弱的问题,请大家帮我下,搞了好几天了,头都大了。谢谢

解决方案 »

  1.   

    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
      

  2.   

    域名解析增加一个CNAME记录
    如 CNAME   ec2-54-66-161-74.ap-southeast-2.compute.amazonaws.com     www.yourdomain.com