|I guess, your public ip address is dynamically assingned by your ISP.|
That means, every time, you reset the router, your public ip address will change.
If this is, what you got, you need to use some sort of public DNS services like DynDNS or NO-IP.
If you're using DynDNS at http://www.dyndns.org and create a new accout freely, you have to logon to this account and create a new domain, something like:
Then, you have to check, whether your router supports updating dyndns ip address.
If it does not, you can download a windows client, that must be installed to the server. You have to configure the login data for your dyndns account and the domain name, you've chosen.
So everytime, you router get's a new public ip address, your dyndns account will be updated with the current ip address, so that you can access you server from the internet by using e.g. myprivateserver.dyndns.org
You also have to configure port forwarding in your router.
If your server has the private ip address 192.168.1.2, and you'd like to access webservices on your server, you have to forward TCP port 80 to local ip 192.168.1.2 port 80.
Accessing the server from your local lan by using myprivateserver.dyndns.org will mostly not function, because most SOHO routers do not have a loopback functionallity for the public interface of the router.
Click Here on HowTo ask good Question to get best Help
Let us know, if the problem is solved !!!