title: How to attach my domain name to my server IP address (Apache)
body: <p>for example I have a domain name www.example1.com</p>
  
  <p>and I have in my apache conf this code:</p>
  
  <pre><code>&lt;VirtualHost 109.201.175.107:80&gt;
   DocumentRoot /home/localname/www
   ServerName www.example1.com
  
   # Other directives here
  
   &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>in the virtual host I wrote my ip and then I attach it to the ServerName is that right?, but anyway when I open the www.example1.com it shows my an error 404, or maybe I need to change the ip address that is attached the domain name, can you tell me step by step what I need to do, I haved searched all the google but didn't understand.</p>