Can general compartment tickets (2S) be booked online? If yes then on what website?
No. General compartment tickets can only be bought at the local railway station. Although there is no information which specifically suggests this in the Indian rail booking portals web site https://www.irctc.co.in/beta_htmls/term_src.html#Q1, but if one goes on to the website and tries to buy a general compartment ticket, there is no option to do so. This answer here may also give more insight.
2S (Second sitting) Class can be booked online using irctc.com, but 2S is not same as General Compartment.
2S stands for Second Sitting, it is a reserved class and your ticket will have your seat number, it is not the same as General Compartment which is Unreserved Class (UR).
General compartment ticket cannot be booked online and can only be obtained from the Station directly and sometimes available only from few hours before departure till the actual departure as it doesn't have any Seat reserved.
protected by Community♦ Sep 27 at 12:22
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?