62

GitHub - ZE3kr/Cloudflare-CNAME-Setup: Cloudflare Partner Panel

 5 years ago
source link: https://github.com/ZE3kr/Cloudflare-CNAME-Setup
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

Cloudflare CNAME Setup

This project allows Cloudflare Hosting Partner to provide a panel for customers, which allows customers to have CNAME setup for free.

查看中文版本

cf.tlo.xyz is the official site installed the stable version of this panel. The software is up-to-date and you can trust.

The beta.cf.tlo.xyz is for the beta version.

Installation

If you don’t want to use the preinstalled panel above, you can install this panel on your server. Please follow this guide.

Requirements

  • PHP 7.0+ installed (with cURL and APCu Cache)
  • Web server (Nginx, Apache, etc.)
  • Cloudflare Partner account

Configuration

Just copy config.example.php to config.php and edit it with your information.

Features of this panel

  • Manage all your DNS records in one place. Using the Cloudflare API v4, this project supports various types of DNS records.
  • Advanced Analytics. You can see the analytics report for the previous year, rather than a month.
  • NS setup is supported. This panel provides NS setup information so you can switch to Cloudflare DNS at any time. The DNSSEC feature is also supported.
  • IP setup is supported. This service provides the anycast IPv4 and IPv6 of the CDN. You can use this service for the root domain safely.
  • Supports multi-languages.

How to switch to this panel from NS setup

  1. Backup your existing record
  2. Switch your domain to another DNS services and restore the DNS record (Optional)
  3. Delete your domain on Cloudflare (Might have a downtime if you have not done step 2)
  4. Re-add your domain on the panel
  5. Setup the DNS records on this panel
  6. Delete the existing DNS record and CNAME to Cloudflare (Only if you have done step 2)

Advantages for CNAME setup

  • You can use any DNS provider you like, which is much more flexible.
  • Use Cloudflare CDN as a backup server or use multiple CDNs.
  • Support fourth-level subdomain SSL for free! For example, the domain like dev.project.example.com is ready for HTTPS. This is because, for CNAME setup, the Cloudflare issues the SSL for SaaS, which issues the SSL separately for each sub-domain immediately.

Advantages when you use Cloudflare

You don’t need to install any software on your origin. Just configure your origin server information on the panel, delete the existing DNS record and CNAME to Cloudflare or switch to Cloudflare DNS, and you are done!

  • Unmetered Mitigation of DDoS
  • Global CDN. Your website will be much faster.
  • I'm Under Attack™ mode
  • Always Online ™
  • Page Rules included. You can customize the cache behavior, set up 301/302 redirect and much more.

Screenshot

Screenshot1 Screenshot2 Screenshot3 Screenshot4

Open sourced software used in this project

This project was based on a HOSTLOC topic.

  • Amaze UI by Amaze UI Team | Licensed under MIT
  • Net_DNS2 by Mike Pultz [email protected] | Licensed under BSD-3-Clause
  • PHPMailer by Free Software Foundation, Inc. | Lincesed under GNU Lesser General Public License v2.1
  • Cloudflare SDK by Cloudflare | Licensed under BSD-3-Clause
  • Chart.js by Nick Downie | Licensed under the MIT license
  • Guzzle by Michael Dowling [email protected] | Licensed under MIT
  • PSR Http Message by Framework Interoperability Group | Licensed under MIT
  • Composer | Licensed under MIT

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK