Getting "HTTP/1.1 404 Not Found" when i run "curl -k -I https://myserver.com" from inside container

I am getting “HTTP/1.1 404 Not Found” when i try to connect to my https server using command “curl -k -I https://myserver.com” from inside container… When i run this command on my host machine then it works fine.
I am unable to figure out what is wrong here.

Is it the networking between host machine and docker?
Some SSL issue(server has CA signed certificate.) ?

Could some one help me here.

Thanks,