GForge needs its own domain. In example GForge configuration file, it's gforge.. You should search for company.comcompany.com in example GForge configuration file and replace it with your domain name.
Here some example configuration files for BIND are presented that can help you if you are not familiar with BIND but it's not meant to be complete. Don't ask BIND-related questions in GForge forums – consult documentation that come with your distribution and search in Internet. Distributions put files in different places and so there are no file locations here. The example configuration below is only quick start example and doesn't include reverse mapping.
New subdomain in gforge. should be created. In company.comcompany.com zone file, it may look like that:
gforge IN NS ns.gforge.company.com. ns.gforge IN A1.2.3.4
Do not add the latter resource record (ns.gforge) if this DNS server serves both and company.comgforge. zones.company.com
New zone file for gforge. may look like this:company.com
$TTL 2d @ IN SOA gforge.company.com. hostmaster.gforge.company.com. ( 1 ; Serial 172800 ; Refresh 900 ; Update retry 2419200 ; Expire 3600 ) ; Negative Cache TTL ; @ IN NS ns.gforge.company.com. @ IN A1.2.3.4ns IN A1.2.3.4download IN A1.2.3.4shell IN A1.2.3.4users IN A1.2.3.4lists IN A1.2.3.4cvs IN A1.2.3.4svn IN A1.2.3.4scm IN A1.2.3.4ldap IN A1.2.3.4jabber IN A1.2.3.4
The new zone must be added in main BIND configuration file:
zone "gforge.company.com" { type master; file "/dist-specific/path/to/zone-file"; };
Of course, changes will take effect after reloading BIND.