Is it possible to have SSL certificate for IP address, not domain name?

后端 未结 7 1674
南旧
南旧 2020-11-22 15:53

I want my site to use URLs like http://192.0.2.2/... and https://192.0.2.2/... for static content to avoid unnecessary cookies in request AND avoid

7条回答
  •  悲哀的现实
    2020-11-22 16:40

    According to this answer, it is possible, but rarely used.

    As for how to get it: I would tend to simply try and order one with the provider of your choice, and enter the IP address instead of a domain during the ordering process.

    However, running a site on an IP address to avoid the DNS lookup sounds awfully like unnecessary micro-optimization to me. You will save a few milliseconds at best, and that is per visit, as DNS results are cached on multiple levels.

    I don't think your idea makes sense from an optimization viewpoint.

提交回复
热议问题