• 欢迎访问db1024网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏db1024吧

Cloudflare 设置教程,图文示例教你给网站配置Cloudflare CDN

主机教程 Liam 1年前 (2019-06-20) 575次浏览 7个评论 扫描二维码

Cloudflare是国外的一款全球CDN服务商,专业做CND服务的,在中国也有很多的节点。Cloudflare在国际上知名度很大,技术成熟,有保障,和很多大的主机商都有合作关系,如果你想找一款CDN服务,Cloudflare是不错的选择,因为Cloudflare支持一个免费的站点,拥有免费的DDOS保护功能。

Cloudflare 全球CND节点如下图所示:

Cloudflare 设置教程,图文示例教你给网站配置Cloudflare CDN

Cloudflare 配置其实非常简单,下面VPS234为大家讲解下怎样设置Cloudflare的CDN。

首先进入Cloudflare官网 https://www.cloudflare.com,然后输入邮箱和登录密码,点击“注册”按钮,如下图所示:

Cloudflare 设置教程,图文示例教你给网站配置Cloudflare CDN

然后跳转到创建用户确认页面,直接点击“Create Account”按钮创建CloudFlare账号,如下图所示:

Cloudflare 设置教程,图文示例教你给网站配置Cloudflare CDN

然后添加你需要设置CDN的网站,输入你的域名,如"vps234.com"(注意这里是需要主域名,而不是子域名),然后点击“Add Site",如下图所示:

Cloudflare 设置教程,图文示例教你给网站配置Cloudflare CDN

然后选择CloudFlare套餐,这里选择第一个免费的套餐,然后点击“Confirm Plan”按钮继续,如下图所示:

Cloudflare 设置教程,图文示例教你给网站配置Cloudflare CDN

然后CloudFlare会自动扫描你前面填入的域名已经有的DNS解析,扫描完成后会列出解析结果,然后直接点击"Continue"按钮进入下一步,如下图所示:

Cloudflare 设置教程,图文示例教你给网站配置Cloudflare CDN

然后你需要替换域名的DNS解析,你需要到你域名注册商那里去修改DSN Server,分别替换成cloudflare让你替换的DNS Server,Server1和Server2都要替换,替换好后就点击按钮验证是否生效,如下图所示:

Cloudflare 设置教程,图文示例教你给网站配置Cloudflare CDN

比如我的域名在注册商那里是这样修改的,如下图所示:

Cloudflare 设置教程,图文示例教你给网站配置Cloudflare CDN

因为解析需要时间,等待解析完成后会给发一封成功的邮件,如下图所示:

Cloudflare 设置教程,图文示例教你给网站配置Cloudflare CDN

然后解析成功过后如下图所示:

Cloudflare 设置教程,图文示例教你给网站配置Cloudflare CDN

然后点击“Crypto”下的SSL,确认选择的是“Full”模式,这样就可以实现HTTPS的CDN,如下图所示:

Cloudflare 设置教程,图文示例教你给网站配置Cloudflare CDN

然后还是在Crypto页面下,向下滑动找到“Always Use HTTPS”选择,如果点击开启,那么"http"访问的链接就会自动跳转到“https”上,当然如果你的网站没有走HTTPS,那么就不需要开启,如下图所示:

Cloudflare 设置教程,图文示例教你给网站配置Cloudflare CDN

然后其他的默认设置就可以了,这样你的网站就已经加上了CloudFlare的CDN了。

注意前面创建好账号后,邮箱还需要验证激活的,如下图是所示,点击“Verify email”验证:

Cloudflare 设置教程,图文示例教你给网站配置Cloudflare CDN

以上就是VPS234为大家讲解的CloudFlare 设置的全流程,通过本教程你可以非常轻松的设置CloudFlare CDN,一步一步按照图片示例配置CloudFlare,免费为网站提供CDN服务,并且还是支持https的,希望本教程能够帮助需要CloudFlare设置 CDN的朋友,相信你一定明白了怎样配置CloudFlare CDN了。


db1024 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Cloudflare 设置教程,图文示例教你给网站配置Cloudflare CDN
喜欢 (2)
关于作者:
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(7)个小伙伴在吐槽
  1. I am really grateful to the holder of this site who has shared this wonderful piece of writing at at this time.
    cheap flights2020-08-28 10:07 回复 Windows 7 | Internet Explorer 9.0
  2. Please let me know if you're looking for a writer for your weblog. You have some really great posts and I believe I would be a good asset. If you ever want to take some of the load off, I'd love to write some content for your blog in exchange for a link back to mine. Please send me an email if interested. Kudos!
    best web hosting sites2020-08-26 10:39 回复 Mac OS X | Chrome 52.0.2777.85
  3. I don't know if it's just me or if perhaps everybody else encountering problems with your website. It appears like some of the written text in your content are running off the screen. Can someone else please comment and let me know if this is happening to them too? This could be a issue with my web browser because I've had this happen before. Many thanks cheap flights 3gqLYTc
    cheap flights2020-08-25 02:51 回复 Windows 7 | Internet Explorer 9.0
  4. Great blog! Do you have any suggestions for aspiring writers? I'm hoping to start my own blog soon but I'm a little lost on everything. Would you recommend starting with a free platform like Wordpress or go for a paid option? There are so many choices out there that I'm totally confused .. Any suggestions? Thanks a lot!
    web hosting services2020-08-14 19:11 回复 Linux | Chrome 67.0.3396.79
  5. Wow! In the end I got a web site from where I can really take valuable information concerning my study and knowledge.
    website hosting companies2020-08-14 18:26 回复 Linux | Firefox浏览器 52.9
  6. Asking questions are in fact nice thing if you are not understanding anything totally, but this post provides nice understanding yet. adreamoftrains web hosting reviews
    adreamoftrains web hosting service2020-08-11 06:14 回复 Linux | Chrome 66.0.3359.181
  7. You are so interesting! I do not suppose I've truly read something like that before. So great to find someone with a few original thoughts on this subject matter. Really.. thanks for starting this up. This web site is something that's needed on the internet, someone with a bit of originality!
    web hosting companies2020-08-10 16:21 回复 Linux | Firefox浏览器 60.0