A rebuild will not add a new one as far as I know. The template DirectAdmin uses can be found in /usr/local/directadmin/data/templates/
You can use it replacing all the tokens with your server values to get back on your feet. And remember to make backups next time