Hostname needs to be somesubdomain.domain.com. server. srv. basically anything as long as there are two dots.
with that much ram, you do no need swap.
Upon installation, CWP should get a valid certificate from letsencrypt. If you want to buy a cert, you can install that via the CWP admin interface.