Questions? Feedback? powered by Olark live chat software
Knowledgebase
Author Avatar

Setup CloudFlare for use with VPSBlocks RailGun

Written by: on 11 March 2015 03:48 PM 11 March 2015 03:48 PM

You should configure and run the local firewall on for added security. Follow step by step instruction to do it yourself.

Cloudflare is a CDN (content distributed network) which you can use to greatly enhance the speed of your website.

The first thing to do is to create a CloudFlare account or associate an existing CloudFlare account with VPSBlocks

1. Login to the portal using your email address and password.

2. Click on the Account tab

3. Click on the 'CloudFlare' menu button

4. If you have an existing CloudFlare account enter your email address and password, or just leave the password blank to create a new account if you do not have one. Then enter the domain you are setting up CloudFlare for. You have to do this for EVERY domain you are setting up CloudFlare for to enable it to access the Railgun service.

5. Click 'Setup CloudFlare Account'

New Users

If you are new to CloudFlare you will receive an email from them asking you to validate your email address and set a password on your account.

 

Existing Users

Your account is now associated with VPSBlocks, you should now login to your CloudFlare account.

1. Go to https://www.cloudflare.com/login

2. Login using your CloudFlare details.

 

Modify an existing website to use RailGun

* Unfortunately due to CloudFlare policy it is no longer technically possible to associate an existing domain with a free railgun service. You would need to completely delete the domain from CloudFlare to do that.

If you have an existing website it will be displayed in the 'Websites' section.

Click on the domain you want to activate Railgun for.

Next click on the 'Speed' icon.

On that page you will see a section for Railgun origin network optimizer. This is usually for Business/Enterprise CloudFlare customers only, however, by hosting with VPSBlocks you get access to this service for your free accounts as well.

Turn on the ControlMyVPS Railgun. If it errors, turn it back off and then on again. If it still errors please wait five minutes then try again.

Once the Railgun turns on properly, clicking the test button should show the CloudFlare status as success.

 

Adding a new website to CloudFlare

To add a new website to CloudFlare you need to go to the 'Websites' section.

Enter the domain (domain.com without the www) and click on the 'Add website' button.

This will then scan the website for DNS records.

Once complete click the 'Continue Setup'  button.

This will display your current DNS records as discovered by CloudFlare. You need to check them to ensure they are correct and add any missing records.

Once complete click 'I've added all missing records, continue'

Next you can choose your plan settings. This is up to you, we choose to start with the free plan and the fastest performance (it can be easily changed afterwards).

Click 'Continue'

CloudFlare will now display the name servers you need to use for the domain. You now need to login to your domain registrar and remove the existing name servers replacing them with the ones provided.

Once you've done this at your domain registrar click 'I've updated my nameservers, continue'

This will now display a congratulations button and tell you that you need to wait up to 24 hours for the DNS changes to propogate. You can always click 're-test' at any time, generally within 15 minutes it will be successful.

Now click on the cog on the right hand side and choose 'CloudFlare Settings'

On that page you will see a section for Railgun origin network optimizer. This is usually for Business/Enterprise CloudFlare customers only, however, by hosting with VPSBlocks you get access to this service for your free accounts as well. 

IMPORTANT NOTE: The ControlMyVPS Railgun will not appear until your domain is successfully pointing to CloudFlare, you will not be able to set the Railgun until the DNS has been changed and the domain is already active within CloudFlare.

Choose 'ControlMyVPS Railgun' from the drop down list, then turn it on. Clicking the test button should show the CloudFlare status as on.

 

(9 vote(s))
Helpful
Not helpful