Doxing, doxxing, docxing are all different spellings of the same thing.
Doxing is revealing personal information about an anonymous Reddit user. It is forbidden by Reddit and will always result in a ban.
Unless it contradicts the Reddit version, we consider the advice written by /u/PrivacyPPratt to be an excellent definitive guide to doxing