Currently I am hosting server myself.
Let say I have a domain name www.sometestdomainname.com
The problem is I am sharing the Internet with the server.
If I am not mistaken,
I got a broadbrand that connect to a ubuntu gateway,
gateway connect to a switch, and it redirect the port 80 to the lan server let say call 192.168.2.4
So when I am outside my office, I type in the URL www.sometestdomainname.com
.. it can access to the server.
But when I am in the office, I need to type 192.168.2.4 so only can I go to the server, otherwise It will show me
Failed to Connect
Firefox can't establish a connection to the server at www.xxx.com
Though the site seems valid, the browser was unable to establish a connection.
* Could the site be temporarily unavailable? Try again later.
* Are you unable to browse other sites? Check the computer's network connection.
* Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing.
What should I do If I wan to type my domain name in my office?
Thanks in advance.