Apple Yosemite Server configure secure website
Check the DNS to make sure the server's DNS entry is set correctly.  Also check whether you are using NAT, i.e., whether you connect to the Internet via NAT (check whether your router is configured to use NAT).  If you are, you will either need to configure port forwarding in the router, or find hosting for your website that is externally accessible from the Internet.