使用云存储桶静态站点将www重定向到非www

时间:2018-11-26 00:15:11

标签: dns google-cloud-platform google-cloud-storage cname no-www

我在Google云存储分区上托管了一个静态网站。

在我的存储桶前面,我有cloudflare dns。

存储桶为example.com

Cloudflare设置: CNAME > @ > c.storage.googleapis.com > TTL automatic

问题是如何实现从www.example.comexample.com的重定向,因为现在www.example.com可以解决404错误页面?

1 个答案:

答案 0 :(得分:0)

在CloudFlare上创建页面规则

相关问题