As you installed in a folder on your server called “gallery”, that will be the base URL of your community (yourdomain.com/gallery). In your current installation, the current forum application would be at yourdomain.com/gallery/forums.
If this is not what you want, you would need to move your whole installation to something more suitable for your use.