blocking direct requests to apache thru iptable

if someone access (http)ip rather than (http)hostname can iptables intercept that and block it out ? or can i do it some other way ?

thanks

 

 

 

 

Top