Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I signed up for cloudflare in order to speed up my website & protect it from attacks. But I'm unable to figure out how to add subdomains & sites installed at (directories) www.domain.com/directory to cloudflare network. Everytime I try to visit xyz.domain.com or domain.com/xyz it shows website offline/Unavailable message.

I don't know if cloudflare has crawled the subdomains or not.

P.s The website at www.domain.com works just fine. Problem is with subdomains & directories. DNS settings & everything else is good from my side.

share|improve this question
1  
Shouldn't you address this question to cloudflare? –  Andrew Schulman Feb 2 at 9:49
    
Please read this. –  Michael Hampton Feb 2 at 16:23

2 Answers 2

Are you sure your DNS settings are alright? Do you have any A or CNAME record pointing to your ip address, e.g.:

subdomain.example.org A 192.168.1.1

Cloudflare states that's the only way to add a subdomain to Cloudflare's network.

share|improve this answer
    
Your DNS terminology is a bit off - A records do not point at subdomains, they resolve to (ipv4) addresses. –  Falcon Momot Feb 2 at 11:33
    
I was a bit unclear, as English is not my primary language. Fixed it. –  Arcturil Feb 2 at 12:41

"www.domain.com/directory" This isn't a subdomain (it is a folder on the site). A subdomain would be directory.yourdomain.com.

Glad you figured this out. In the future, if you have to add a subdomain, you can do so in your DNS settings (after you create the subdomain).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.