The easiest way would be to actually make an index file or .htaccess that redirects domain.com to domain.com/forum.
My Awesome Forum
Then just put that as index.php in the root html folder, and off you go.
Unless you’re saying you want to use domain.com as the URL for your forums. Which, depending on your forum software, may require you to move it.