How to find the hostname for a domain behind Cloudflare DNS

Finding out what the hostname is for a website using Cloudflare is pretty easily actually. You'll need root access to a linux server with curl that is resolving to the Internet correctly. From there you simple run the command:

curl -v -H "Host: domain name"

It will simply post the domain's hostname.


  • cloudflare, cloud flare
  • 13 Users Found This Useful
Was this answer helpful?

Related Articles

How to flush your DNS cache

Your home computer creates a cache for all DNS settings. It does this to save time each time you...

What is the root login for my new VPS server?

The root login is the same password our system sent you in your welcome email. You just change...

What is the path to PERL?

The path to PERL in PERL script is:#!/usr/local/bin/perl

Do you troubleshoot scripts and apps?

Hello,Sorry, but troubleshooting sripts and apps needs to be done by the scipt maker or a...

How to use PHP-CLI

You would call '/usr/local/bin/php' if you need the php-cli binary, and '/usr/bin/php' if you...