>> Yes but in the scenario you describe - all computers are on the same network.
No, you can have web server on e.g. shared hosting and you can connect to it from every place. You can show web page on your phone, tablet … Regards, Karol Bieniaszewski