DAKSH101 Posted November 28, 2014 Posted November 28, 2014 Hi,My website dns resolves cloud flare that's the reason when my website logs any visitor activity it shows cloudflare IP. So, I contacted them and they ask me to install mod_cloudflare for Apache servers in order to get the origional IPs.So, Could you please install mod_cloudflare. username: mng4server:steviedomain: mng4.heliohost.org Thank You.
wolstech Posted November 28, 2014 Posted November 28, 2014 I'll escalate this...we were supposed to get some kind of cPanel integration for cloudflare at one point. We don't typically install apache or PHP modules for people though, so the answer is probably no.
wolstech Posted November 28, 2014 Posted November 28, 2014 This support request is being escalated to our root admin.
yashrs Posted November 29, 2014 Posted November 29, 2014 You can use this to get the original IP of the user:-$_SERVER['HTTP_X_FORWARDED_FOR']
DAKSH101 Posted November 29, 2014 Author Posted November 29, 2014 Honestly I don't have much idea about drupal. Since mysite is hosted with drupal. Could you please tell me which page I need to modify?
yashrs Posted November 29, 2014 Posted November 29, 2014 You can check this out : https://support.cloudflare.com/hc/en-us/articles/201883834-Using-CloudFlare-and-Drupal-Five-Easy-Recommended-Steps
yashrs Posted November 30, 2014 Posted November 30, 2014 You are welcome. Do let us know if you need more help.
Krydos Posted December 2, 2014 Posted December 2, 2014 At this point cloudflare dns is not available for any domain.heliohost.org type domain, but if you have a .tk, .com, .org, .net, etc. type domain you can use cloudflare instead of the default heliohost dns servers.I've found the easiest way to set up cloudflare is the following.Set your domain's nameservers to ns1.heliohost.org and ns2.heliohost.orgPark, or addon your domain through cPanel.Wait 24 hours and make sure your domain is working as expected.Log into cloudflare's website, and type in your domain.Cloudflare will copy all the existing, proven to work settings and instruct you to change your nameservers to something like olga.cloudflare.com and cleetus.cloudflare.com.Log into your domain registrar's website and make the changes.Wait 15 minutes to 48 hours for your DNS changes to go through, and cloudflare will alert you when everything is good to go.Obviously, there are shortcuts for everything, but this process leaves the least room for error and pretty much guarantees you a functional set up.
Recommended Posts