Discourse is only accessible by IP address

OK I got it working like this please confirm if this is optimal or if there is a better method?

A server 128.199.115.233
CNAME forum server.example.com

per this topic