There's more than one place called '''Ayodhya''':
Ayodhya - an ancient city and old capital of Awadh, in the Faizabad district of Uttar Pradesh
Ayutthaya (Phra Nakhon Si Ayutthaya, sometimes also called Ayodhya, and named after the ancient Indian city) - founded in 1350 and capital of the Thai kingdom until it was conquered and sacked by the Burmese in 1767; the modern city is provincial capital of Ayutthaya (province)