No, Dorchester is not the birthplace of Thomas Hardy. Hardy was, actually, born in a small village called Higher Bockhampton, which is just a few miles from Dorchester. The town, however, played a significant role in his work, as he lived here for much of his life. In fact, the fictional ‘​​Casterbridge’ in some of Hardy’s novels is based on Dorchester.