1) Log into your OPNsense installation with your credentials

2) Navigate to System > Settings > General

54d8c6840649c9148696dc8f70282fa4d448782e817b11fa353e6798dc7c5110e044a4b3477cbb43?t=01038d5b48d4da917c38b7fc10f07446

3) Enter your desired hostname

e7b3b7e3ad0d7c8d4fb445bf85be42a93678f070f33b09adb464aba944a8ca63b43867c4c785d1ab?t=434ab7b9a25d6f4c66a19a3f1914464e

Do not qualify 'firewall.yourdomain.co.uk' in the hostname box. To achieve a hostname of firewall.yourdomain.co.uk, enter 'firewall' into the hostname field, and 'yourdomain.co.uk' into the Domain field.