I installed CentOS7 and Apache on my work PC (connected to my company's network with a given IP address). No other OS installed, just Linux. I created a simple hello.html file in /var/www folder. I typed /var/www/hello.html in the web browser and I could see the text hello world. So far so good.
Now, how do I access the same basic web page from a different computer on my company's network?
I know Apache listens to PORT 80 for incoming requests. So how do I open up PORT 80?
In my case, hello.html is the source file for my web page. On my Linux PC browser, I can type /var/www/hello.html to see the page. But suppose I want to call my website www.mywebsite.com. How do I translate from /var/www/html to www.mywebsite.com. In other words, when I direct other coworkers to my website, I want to give them www.mywebsite.com as a name, and not /var/www/hello.html, which would be meaningless to them.
Based on question 3, does this mean that I have to create a "local" DNS that somehow combines my IP address along with hello.html into www.mywebsite.com?