Creating and forwarding a subdomain using CloudFlare and GoDaddy

Creating and forwarding a subdomain using CloudFlare and GoDaddy

Creating and forwarding a subdomain using CloudFlare and GoDaddy

This tutorial assumes you have an account with CloudFlare.com, a domain and webhosting with GoDaddy.com

If you are the services of CloudFlare.com to save bandwidth and increase threat protection then you will no doubt have switched to their nameservers on your Domain settings on GoDaddy.com

But doing this then means you cant access the DNS Zone Settings for your domain on GoDaddy.

You will have to switch back to GoDaddy nameservers to use and create subdomains…

Or use this workaround:

  1. Goto CloudFlare.com
  2. Click on your website
  3. Click on DNS
  4. Select New A Record Type
  5. In the NAME textbox enter the first part of your subdomain, e.g in my case i wanted to create endof.rizbit.uk so I have entered “endof”
  6. In the Value entered the IP address that points to your hosting something like 160.153.14.15
  7. Now press Add Record button to save it.  Everyone that enters endof.rizbit.uk will now get redirected/forwarded to my server at rizbit.uk

Creating and forwarding a subdomain using CloudFlare and GoDaddy

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

So now we need to tell our server where to send this traffic.

  1. Goto GoDaddy.com
  2. Goto your website hosting cPanel
  3. Goto Subdomains section
  4. Now setup a new subdomain as shown in the image below

Creating and forwarding a subdomain using CloudFlare and GoDaddy

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

It will create a folder in your root and so it must be  unique name unless you want to send different subdomains to the same folder maybe.  I have entered “endof”.

Next:

  1. Create a forwarding by clicking on manage redirection
  2. Enter the destination URL and press Save
  3. Wait about an hour or so and test your newly created subdomain complete with forwarding!#

 

Hope this was useful to others, please leave a comment if it worked for you aswell 🙂

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.