In 1893, Domanović wrote and published his first work, a short story Na mesečini (In the Moonlight), in a popular magazine for intellectuals called Javor. Two years later, he got his first tenure as a lecturer in a gymnasium in Pirot. There he met Jaša Prodanović, who helped found the Serbian independent Radical Party in 1901.