Skip to content

Curl

1 page
  • curl --resolve and SNI: Testing Virtual Hosts Without /etc/hosts

    In Posts 455 words 3 min

    CurlTlsDevopsLinuxSecurity

    When you need to test a virtual host on a specific IP but don’t want to edit /etc/hosts — whether due to permissions, conflicts with other services, or just the habit of keeping the file clean — curl --resolve solves both problems at once: it …

    When you need to test a virtual host on a specific IP but don’t want to edit /etc/hosts — whether due to permissions, conflicts with other services, or just the habit of keeping the file clean — curl --resolve solves both problems at once: it …