I often copy hostname from chrome address bar to shell, but it always with some prefix like “http://” .
Search “chrome copy without http” in Google and you will 208,000,000 results, there is a bug reported in tracker but status is “Won’t fix”.
Luckily some body developed this extension:
https://chrome.google.com/webstore/detail/hostcopy/ebnjnkfienhcidbgmifkjkkidheihcpj
there are some others has same function, you can try and choose your favorite.