How to config softphone/extension while pbx is having dnsalias IP

Hi everyone!
i’m currently running freepbx in elastix with a dnsalias address.i can access it via web gui and also with ssh.but now i am struggling to configure soft phone with it.i tried nat settings in free pbx with no success.
Any idea to go ahead with success ? please help me.