This is accomplished by updating the hosts file within your operating system.
Mac osX: /private/etc/hosts
You might need super user privilegdes to access these files or sudo.
Open them in an text editor and on a new line enter
<Server IP> <yourdomain.com>
For example say the Javapipe server is 18.104.22.168 and your domain is clothcommerce.com then your host entry will look like this:
Example hosts file from osX (linux is similar)
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
Save the file and then test clothcommerce.com in your browser on the same machine.