Done using without external programs like awk.
1st version is generic, remove extra data from lines.
Code:
#!/usr/bin/ksh
while read id restline
do
case "$restline" in
"") # only id, so print line
print "$prevheader $id"
;;
*) # long line, remove constant/extra strings
str=${restline/are the/}
str=${str/running in the server/}
str=${str/[Dd]omains/}
# what we have ? Values
prevheader=$str
;;
esac
done < input.txt