GForge needs its own domain. In example GForge configuration file, it's gforge.
. You should search for company.com
company.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.com
company.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.com
gforge.
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.4
ns IN A1.2.3.4
download IN A1.2.3.4
shell IN A1.2.3.4
users IN A1.2.3.4
lists IN A1.2.3.4
cvs IN A1.2.3.4
svn IN A1.2.3.4
scm IN A1.2.3.4
ldap IN A1.2.3.4
jabber 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.