title: How to use domain name instead of local host IP with PHP
body: <p>I'm experimenting some PHP code with a local IP address <a href="http://192.168.33.10" rel="nofollow noreferrer">http://192.168.33.10</a>. 
  When I was using the address in a form of number (192.168.33.10) it was working fine (see image 1), but when I try to use a domain name "dev.dotinstall.com", it reaches an error page (see image 2). </p>
  
  <p>I learned that you can use a name like "dev.dotinstall.com" instead of IP address by editing hosts file, so I edited it adding a line "192.168.33.10 dev.dotinstall.com" at the end of the hosts file (see image 3). </p>
  
  <p>The error page says "The fact that you are seeing this page indicates that the website you just visited is either experiencing problems or is undergoing routine maintenance.", but I don't know what the problem is. </p>
  
  <p>Any idea why this is happening? </p>
  
  <p><a href="https://i.stack.imgur.com/DSVvQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DSVvQ.png" alt="image1"></a></p>
  
  <p><a href="https://i.stack.imgur.com/va4bP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/va4bP.png" alt="image2"></a></p>
  
  <p><a href="https://i.stack.imgur.com/UypnN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UypnN.png" alt="image3"></a></p>