Question: where is castle on the hill based on
Answer: The song refers to Framlingham Castle in Sheeran 's home town .