#!/bin/bash
echo "Testing plan.knownelement.com (singular - correct)..."
exec 3<>/dev/tcp/localhost/12000
echo -e "GET / HTTP/1.1\r\nHost: plan.knownelement.com\r\nConnection: close\r\n\r\n" >&3
head -10 <&3
exec 3<&-
echo ""
echo "Testing plans.knownelement.com (plural - likely typo)..."
exec 3<>/dev/tcp/localhost/12000
echo -e "GET / HTTP/1.1\r\nHost: plans.knownelement.com\r\nConnection: close\r\n\r\n" >&3
head -10 <&3
exec 3<&-
