It's not mandatory for a website to have a landing page. However, I always recommend having one. A landing page enhances lead generation and conversions to a good extent. It is a proven success when it comes to making visitors take the actions you want them to take. Hence, no, a landing page is not mandatory, but it is highly recommended.