Do you have to be outside Thailand when applying for a visa through e-Visa website or not necessary?
TLDR : Answer Summary
Yes, you must be outside Thailand when applying for an e-Visa. According to multiple comments, having an active visa or entry stamp in Thailand makes you ineligible for the e-Visa application. It's advised to prepare to remain outside Thailand until the application process is completed.