I am trying set up my own whois server, that user can request by command
whois -h mywhois.server domain.com
I inserted in apache.conf Listen 43 and created vhost like this
<VirtualHost *:43>
ServerName whois.test.dev
DocumentRoot /var/www/whois.test.dev
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
But when I request via terminal it returns bad request, with other ports i t works normal (e.g. 8080) What is the problem with that