Hi,
I’m new to DNS management and trying to finish off my domain set up with Cloudflare, I’m using Cloudflare registrar. Would really appreciate some help because I don’t want to do anything that would screw up mail delivery etc.
I’ve hopefully set up my MX records correctly for Office 365 but now want to just set up some simple web forwarding as I have no intention of hosting my own site.
I’ve set up the following A records in Cloudflare (non-public IP addresses, hopefully I’ve followed the instructions correctly from the support guides):
@ 192.0.2.1
www 192.0.2.1
I’ve then set up the following Page Rules:
Rule 1:
If the rule matches: .mydomain.com/ (edit: this isn’t displaying properly in this forum, it should read: [asterix].mydomain.com/[asterix]
Redirect to: https://www.targetdomain.com
Rule 2:
If the rule matches: mydomain.com/*
Redirect to: http://www.targetdomain.com
Everything seems to be working as intended but I just want to check there is nothing I’ve missed or misconfigured that might cause problems.
My questions are:
1.
- Are those A records correct and should I have set them up for both the @ and www?
- When I do a public DNS look up I can see there are now 2 A records for each of the entries I originally created (as well as some IPv6 addresses):
www.mydomain.com 104.28.30.97
www.mydomain.com 104.28.31.97
mydomain.com 104.28.30.97
mydomain.com 104.28.31.97 - Is that correct and why is it creating two like that? Just for redundancy or something because I’ve not seen anything like it before.
Are my page rules the most efficient way to get the redirects working as intended? I just want to get anyone going to my domain via a web browser to be redirected to another site.
Thanks for any help you can offer!