Open /etc/hosts
Edit and add your custom hostname like the following
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
103.241.24.52 ahaa-api
103.241.24.53 ahaa-redis
103.241.24.54 ahaa-db