Problem with https

when i set my dns to cloud flare when its in http format every things is ok
but when i active my https in my server and i set dns to cloud flare
my site be down
and get error can not reach you site
please help me
how can i fix this problem

What error do you get? Can you post a screenshot? Also, what is the site?

you can see

Do you still get this error if you pause Cloudflare?

before i set https for my site
my site was ok
but after buy ssl certificate for my site
and after instal ssl on my site
with cloud flare dns my site dont work
but if i change my dns to other dns for example host company dns
my site its ok and work

this is the error:

This site can’t be reached

chech in my site:

i can resolve my problem
the problem was for this line:

HttpContext.Current.Response.AddHeader("X-FRAME-OPTIONS ", “DENY”);

i delete that
and now every things is ok

Hi reza,
can I ask you where did you find that line?
HttpContext.Current.Response.AddHeader("X-FRAME-OPTIONS ", “DENY”);
thank you

this header was in my header
i had set it in web.config
and in all of my request, I sent it
I delete it
and now every thing is ok

This topic was automatically closed after 30 days. New replies are no longer allowed.