CloudFlare with DreamHost

CloudFlare is a very nice service that provides CDN / optimizer / security protection and more. Good news is that DreamHost turns to be a partner with CloudFlare. The free account on CloudFlare is enough for sites such as Fclose.com. I enabled CloudFlare yesterday and it works smoothly and boosts the site’s performance. Overall, I am very satisfied with it. DreamHost claims that “In the end CloudFlare helps you, it helps us, and it helps your sites’ visitors”. Let’s see how it evolve over time.

Enabling CloudFlare on DreamHost is quite easy to go.

  1. Log in the management console of DreaHost.

  2. Go to the “Domains -> Manage Domains” panel.

  3. Click the “Edit” button in the “Web Hosting” column of the domain you want to enable CloudFlare with.

  4. Turn on the “CloudFlare Services Enable CloudFlare on this domain?” option and click the “Change settings” button.

That’s it. You will receive an email soon from CloudFlare that notifies you that the domain is added to CloudFlare. You can also edit the configurations and add apps on CloudFlare’s management console.

Note 1: to use CloudFlare with DreamHost currently, your site must use ‘www.’ prefix in the URL. Why?

Unfortunately, it’s a limitation imposed by the DNS RFC. The DNS spec
doesn’t allow a CNAME (the “alias” type of DNS record, as opposed to
an A record which must be an IP) to be associated with the root record
(e.g., example.com). So this is valid:

http://www.example.com CNAME example.com.cloudflare.net

But this is not:

example.com CNAME example.com.cloudflare.net

The way that hosting partners like DreamHost provision CloudFlare is
by adding a CNAME to your DNS records. As a result, you can use any
non-root record (e.g., blog.example.com, http://www.example.com,
cheesewhiz.example.com) but the RFC won’t allow the root record (i.e.,
example.com).

From Matthew Prince, Co-founder and CEO of CloudFlare: link here. Matthew also mentioned that they are working on to fix it. Let’s wait for the good news (maybe after some long time).

Note 2: You can also force refreshing the domain’s DNS on DreamHost’s management console to accelerate the propagation of the new DNS record. In the same “Management console”, click the “DNS” link under the domain and then click the “Go!” under “Refresh DNS for … now?”.

Similar Posts

  • How to improve ssh/scp performance on Linux?

    ssh/scp are convenient and handy tools on Linux. Is is possible to further improve its speed/performance? Please check this post for how to improve ssh/scp performance: https://www.systutorials.com/5450/improving-sshscp-performance-by-choosing-ciphers/ Read more: Improving ssh/scp Performance by Choosing Suitable Ciphers Open Source and Portable SSH, SCP, SFTP and VNC Clients for Windows to Remote Control Linux How to improve…

  • How to force a checkpointing of metadata in HDFS?

    HDFS SecondaraNameNode log shows 2017-08-06 10:54:14,488 ERROR org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode: Exception in doCheckpoint java.io.IOException: Inconsistent checkpoint fields. LV = -63 namespaceID = 1920275013 cTime = 0 ; clusterId = CID-f38880ba-3415-4277-8abf-b5c2848b7a63 ; blockpoolId = BP-578888813-10.6.1.2-1497278556180. Expecting respectively: -63; 263120692; 0; CID-d22222fd-e28a-4b2d-bd2a-f60e1f0ad1b1; BP-622207878-10.6.1.2-1497242227638. at org.apache.hadoop.hdfs.server.namenode.CheckpointSignature.validateStorageInfo(CheckpointSignature.java:134) at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.doCheckpoint(SecondaryNameNode.java:531) at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.doWork(SecondaryNameNode.java:395) at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode$1.run(SecondaryNameNode.java:361) at org.apache.hadoop.security.SecurityUtil.doAsLoginUserOrFatal(SecurityUtil.java:415) at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.run(SecondaryNameNode.java:357) It seems the checkpoint…

  • How to exclude users from GDM login screen?

    How to exclude users from appearing in the GDM login screen of Gnome 3? There is a long-time bug related to this ( https://bugzilla.redhat.com/show_bug.cgi?id=723708 ) which causes that the /etc/gdm/custom.conf has no effect. The closes workaround I find working on Fedora 20 is to totally disable listing of users (run as root): cat > /etc/dconf/db/gdm.d/01-mysettings…

  • Chinese Charactor Configuration on Fedora 11

    最新的更新版本请看: Fedora 中文字体设置. 使用Linux时我个人倾向使用英文环境系统,而Fedora11在英文环境下中文字体有时会不太好看,经常遇到需要字体优化美化的问题。 以下是我的配置方案,经测试效果还算不错,解决了Fedora 11 中文字体难看的问题: 方案1:使用uming和ukai字体,即AR PL UMing CN等。 关键是使用的字体包如下: 首先要安装这两个字体: cjkuni-ukai-fonts cjkuni-uming-fonts 然后配置一下~/.fonts.conf文件. 使sans-serif serif monospace字体中文使用uming/ukai即可. 我的.fonts.conf文件可以从这里下载(两种选择, 我喜欢前者): https://github.com/zma/config_files 使用Liberation和uming/ukai字体: .fonts.cofn.liberation 使用dejavu和uming/ukai字体: .fonts.conf.dejavu 下载后放到自己的$HOME下改名为.fonts.conf就可以了。 使用uming字体效果如下(请放大后看效果): 方案2:安装文泉驿字体,这个非常简单,安装相应包即可了。 如果喜欢其它的字体选择性的安装上就可以了,只要注意只安装自己需要的就行了。有人使用微软雅黑字体,首先这是侵权的,其次开源的字体做得其实已经很不错了。 最后将字体平滑选项打开, KDE和gnome都有相关设置方法。 以上内容只是针对使用xft字体系统的设置。对于使用核心字体系统的X程序来说字体依然会出现很丑的情况。 下面是针对emacs的设置方法: 首先需要安装这个字体包: xorg-x11-fonts-misc 注意到在中文系统下emacs的中文显示非常好,而在英文环境中去非常差,我们可以利用这一点,在运行emacs前首先将系统环境设为中文即可。 在~/bin/下建立一文件ema 内容如下: #!/bin/bash rm -f ~/.emacs ln -s ~/.emacs.x ~/.emacs LANG=zh_CN.UTF-8 emacs –fullheight -r $* 然后加入执行权限即可: chmod +x…

One Comment

  1. Ahaa, its pleasant dialogue regarding this post
    at this place at this webpage, I have read all that, so
    now me also commenting at this place.

Leave a Reply

Your email address will not be published. Required fields are marked *