for example I have a domain name www.example1.com

and I have in my apache conf this code:

<VirtualHost 109.201.175.107:80>
 DocumentRoot /home/localname/www
 ServerName www.example1.com

 # Other directives here

 </VirtualHost>

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.

Edit
Report