The recommended solution is typically to make your landing page on another server (and use www subdomain). If you want to run both on the same server you can look at Set up Discourse on a server with existing Apache sites. There is a similar topic for nginx. Both assume that you know how to create your html landing page.
5 Likes