This is accomplished by updating the hosts file within your operating system.
File locations:
Linux: /etc/hosts
Mac osX: /private/etc/hosts
Windows: c:\windows\system32\drivers\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 5.23.33.45 and your domain is clothcommerce.com then your host entry will look like this:
5.23.33.45 clothcommerce.com
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. ## 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost 5.23.33.45 clothcommerce.com |
Save the file and then test clothcommerce.com in your browser on the same machine.