Connection to host in jquery photo gallery failed: host not found

Q: I am unable to get my server recognized. No matter what I do, I get
the following message in jquery photo gallery: "Connection to Host Failed: Host Not Found."
I don't know what to do. Please help!

A: Check that you selected the created location from the list
of available locations in jquery photo gallery till you press Publish button.