Skip to content

Setting Up Cloudflare DNS Records and Page Rules ​

1. Setting Up Cloudflare DNS Records ​

Log In to Cloudflare

Select Your Domain

  • From the dashboard, select the domain you want to configure.

Add DNS Records

  • Go to the DNS tab and click Add Record to add the necessary DNS entries.
TypeNameIPv4 Address / TargetProxy StatusTTL
A@ (root domain)Enter your server’s IP addressEnabled (orange cloud icon)Auto
CNAMEwwwyour-target-domain.comDisabled (gray cloud icon)Auto
  • Save each record after entering the details.

DNS Record Example: ​

Cloudflare Example DNS Records

2. Creating Page Rules ​

Navigate to Page Rules

  • Go to the Page Rules tab on your domain's dashboard.

Add a New Page Rule

  • Click Create Page Rule and configure rules as needed.

Example Page Rules: ​

Page Rules Tab

Example Page Rule Configurations: ​

URLSettingSelectDestination URL
example.comForwarding URL301 Permanent Redirecthttps://www.example.com

Example Redirect: ​

Page Rules Tab

Always Use HTTPS ​

URLSetting
example.com/Always Use HTTPS

Click Save and Deploy to activate the rule.


Tip: Page rules are applied in order from top to bottom. Arrange them carefully based on priority. Use wildcards (*) for broader rule coverage, like *example.com/* to cover all pages.

© 2019-present GoBiz SaaS. All rights reserved.