as you may know, a domain is just translated to the address made of numbers, then only this latter is used.
You set the number address to your computer address, that has a meaning only in your local network.
That address doesn't exist on the internet.
What you had to do is: use your router's address, then instruct the router to forward requests to your computer (search "port forwarding").