title: How to configure Apache WebServer to be accessed by public domain (or static IP) I have?
body: <p>I am trying to setup a web-server at home on PC.</p>
  
  <p>I have an Static IP address (say 1.2.3.4 or Domain XYZ[dot]com), which I have configured on my router.
  When I try to access, <code>XYZ[dot]com</code> or "1.2.3.4", it opens my routers login page.</p>
  
  <p>On the other hand, Apache Server, installed on the PC, works fine. when I write localhost/index.html or 127.0.0.1/index.html - it opens that page.</p>
  
  <p><strong>QUESTION</strong></p>
  
  <ul>
  <li>How can I link the Public IP address to the Apache Server (or the website hosted on localhost on my PC)? </li>
  </ul>
  
  <p><strong>EXPECTED SOLUTION</strong></p>
  
  <ul>
  <li>If anyone visits "<a href="http://XYZ[dot]com" rel="nofollow noreferrer">http://XYZ[dot]com</a>", the website hosted on my PC is opened on his/her web browser.</li>
  </ul>