I am trying to set up a web server at home on a PC.
I have a static IP address (say 1.2.3.4 or XYZ domain [dot] com) that I configured on my router. When I try to access, XYZ[dot]comor "1.2.3.4", it opens my login page for routers.
On the other hand, an Apache Server installed on a PC works fine. when I write localhost / index.html or 127.0.0.1/index.html - it opens this page.
Question
- How do I associate a public IP address with Apache Server (or a website hosted on a local computer on my PC)?
EXPECTED DECISION
source
share