Can you build two websites on one domain in Wix?

Thanks! The how-to article link doesn’t work, but perhaps I can find it. I have never used sub domains. Do you have to purchase it like you would a domain?