Amazon S3 域名绑定

仅在几个星期前,我发现我的托管帐户很接近带宽限制,所以我决定将一些高带宽的图片移到Amazon S3,廉价和无限带宽。 一切都很好,直到我意识到,Google返回atmgear.com s3.amazonaws.com的搜索结果。幸运的是,Amazon AWS有一个变通的方法。 您可以使用自己的域名,绑定在亚马逊S3存储桶。

对于大多数人来说使用Amazon S3创建一个网站是相当容易的事情,但亚马逊没有提供明确帮助如何使用你自己的域名,这在本质上可能会让你头痛。不用担心,这是很简单。

以下是如何从开始到结束,这个例子的目的,我们要创建自定义的域名 sub.atmgear.com的。这是一个二级域名,当然你也可以直接绑定到根域上,这个要看你中意。

第一件事情,请您打开Amazon S3控制台。

并创建一个新的桶(Bucket)。 确保您的自定义域名的名称是桶名,比相同的名称。 在我们的例子中,命名为 sub.atmgear.com 。

创建桶后,你应该能够访问通过它http://sub.atmgear.com.s3.amazonaws.com在那里你会得到拒绝访问的错误。 您的进展,继续前进。

第二步、右键单击新创建的水桶,选择“属性”。

桶属性包含一个面板应该从控制台的底部向上滑动。 在该小组中,你会看到一个标签命名网站。 确保已选中“ 启用 ”复选框,设置索引中文档错误的index.html文件 ,然后上传自己的index.html文件。 请您新上传的索引文件中的公共,右击就可以在控制台选择公开。

继续下一步之前,请确保您可以访问您刚才访问桶的URL上传index.html文件: http://sub.atmgear.com.s3.amazonaws.com/index.html

如果可以,你准备去第三步 ,如果你不能,再次尝试-注意,在配置面板使您的网站时,你会被分配一个端点,其中包含了您的网站的位置。 忽略它,而不是使用sub.atmgear.com.s3.amazonaws.com。

第三步、到域名注册商修改DNS信息。

现在,你的桶和你所需的自定义域的名称相同,你准备去你的域名提供商,并添加一个规范的名称指向sub.atmgear.com.s3.amazonaws.com。

在我们的例子中CNAME条目基本上是

网域: sub.atmgear.com
规范名称:sub.atmgear.com.s3.amazonaws.com。

保存更改,等到你的DNS通过互联网传播。好了,现在你可以去http://www.atmgear.com 看看效果了。

最后,回顾一下大至控作流程。

所以,你应该有你的自定义域指向您的静态Amazon S3的网站。 这里有一个你必须做什么的回顾一下:

  1. 具有相同的名称创建桶,比我们的自定义域。
  2. 桶的启用网站的功能,并设置索引和错误文件。
  3. 添加到您的DNS提供商(Godaddy的,Network Solutions等),点到我们的亚马逊S3桶CNAME。
  4. 等待DNS生效!

呵呵,希望这能帮助到你!

百度统计热力图邀请码

先发19个邀请码,每个邀请码可以邀请一个用户,立刻邀请您的朋友来体验页面点击图吧!

统计访客在您网页的鼠标点击情况,并通过不同颜色的区域展示出来,帮助您了解访客关注点,优化网页设计(只支持http和https协议的url,暂不支持框架页面的监控)。

96425a18a8ab8b43

d9c14516936f1c60

db59e8e9877dcab6

52eec9378c95952e

9bee6da5d82cd6c4

acc9071445df1a56

ca5861b1382fe38c

4cdfb58bde5d461c

93249dc6500e8912

92ca428eaf29dc14

9003b9b5e3ad06e9

bb332688e602294f

0446de702dee8ae8

04164d9f4c864688

14876552a8affb11

8ba2d16f2eb475b2

acf6f9f3eaf8aadb

d21c1e433432e51d

e37585f5bab94f74

您注册后,你一样就有10个邀请码,到时也可以共亭出来。

Amazon EC2 并不全免费,会扣费

我们正在进行亚马逊我局开放源码的项目。刚刚创造我的帐户,并打算使用免费的一系列服务。同时,我做这个实验。基于AWS Free Usage Tier似乎很合理范围之内为我的免费每月的限制,为数据传输,IO,开机,关机,重启等。

到目前为止一切都好,只是数据转移。据我们所知,免费的数据转移将仅适用于亚马逊我局域网之间数据传输的例子相同的可用性区。且仅不使用公网的IP。

开始配置本地网络,我开始被收费0.10美元/ GB 在账单里会有显示。翻墙的朋友要注意扣费情况了 :)

—————————————————–

“$0.010 per GB – regional data transfer – in/out/between EC2 Avail Zones or when using public/elastic IP addresses or ELB ”

That sure makes it sound like any internet data transfer using public IP is going to cost $$. As far as I know, there’s no way to access your instance from outside of the Amazon network without using a public / elastic IP address.

—————————————————–

所以,国内很多都说15G上下行的流量免费看起来有点误导。15G上下行只能是在亚马逊局域网内才有用,公网无效。

AP Regional for godaddy

Data Center: AP Regional(IP地址是godaddy亚太机房位于新加波),大家要购买GD主机空间时,尽量不要购买AP Regional数据中心的主机(亚太用户默认自动分到新加坡数据中心)。

你可以联系GD客服要求更换到美国主机上去,但需要你先取消订单然后在重新购买!

已经购买了的朋友可以退货,反正godaddy支持30天无条件全额退款。

I’m a chinese user,When i ping my current IP, it always shows’Request time out’.(182.50.148.1 新加坡 GoDaddy公司,目前被封。

I think the reason is that Data center is AP regional but not USA.

So I canceled it today.PIN:XXXX

please give me a refund .

Thanks!

NS1.SUSPENDED-FOR.SPAM-AND-ABUSE.COM

godaddy的域名被删除后(还有一种情况直接删除账号,这种情况客服会要求你上传证件),查询whois中出现以下问题,通常是由于删除了付款方式所造成的,你可以添加一个新的支付方式。当然还有一种情况就是这个域名发送过垃圾邮件欺诈或滥用。碰到这种情况不必害怕。:)

Name Server: NS1.SUSPENDED-FOR.SPAM-AND-ABUSE.COM
Name Server: NS2.SUSPENDED-FOR.SPAM-AND-ABUSE.COM

这种情况你只用联系客服写邮件或打电话((480) 505-8877 技术支持、)说明情况,他们就会帮你恢复你的域名。

下面是模版,邮件内容可以这样写:

Dear Sir

I got the information from our friend that you currently have a sales promotion of COM domain, so I bought one. But there is something wrong with the domain name, the domain name can not work and can not find my domain name at control panel.

Then I checked whois and found Name Server: NS1.SUSPENDED-FOR.SPAM-AND-ABUSE.COM

I guarantee that there is not any spam and abuse. Could you pls tell me how to do it ? Thanks so much !

Looking forward to your prompt response.

Best Regards
Mr. Lee

联系客服他们会回复:

Thank you for your reply. Our records indicate the domain name was cancelled from within your account. We have reactivated the domain name. It is now active and listed in the Domain Manager of your account. Please let us know if you have any further questions, comments, or concerns by replying to this email. Our service departments and telephone lines are open 24 hours a day, 365 days a year to accommodate your needs anytime.

如果你英文水平有限,或也不想打电话可以通过以下的方法:

Thank you for contacting Online Support.  I have reviewed your inquiry regarding the registration of your domain. It appears the payment method for the domain was removed. It would be recommended to readd a payment method to associate with the domain. After this is added, respond to this message with your 4-digit Call In PIN and we will be happy to reinstate the domain for you.

You may find this setting using these instructions:

• Select ‘Account Settings’ from the ‘My Account’ menu
• Click on the ‘Account Security Information’ link
• Confirm your email address in the ‘confirm Email’ field
• Enter in your password in the ‘Current Password’ field
• In the space marked ‘Call-in PIN’, enter a 4-digit number that you will supply to our Customer Service or Technical Support Representatives in order to verify your identity and customer account
• When you are done, click on the green ‘Save Changes’ button

NOTE: Modifying your PIN is optional. For verification purposes we will require that you provide the PIN in your reply.

最后,如果有什么新的问题请让我知道,我会尽量帮助你拿回属于你的域名。 :)