title: How to Setup Website Directory (Custom Host) on Centos 7
body: <p>I'm trying to figure out how to have the website function after i point the DNS to the server.</p>
  
  <p>by default, (after fresh install of apache, mysql, php) the main server directory is situated at var/www/html so if i upload test html file, via default server ip the html file will show.</p>
  
  <p>i'm trying to setup a custom folder i.e var/www/examplewebsite.com/public_html and then the public_html would function as the go-to folder for when user goes to my website. Multiple websites on one IP (server) would be great too</p>
  
  <p>i found some information from <a href="http://bit.ly/1kguprn" rel="nofollow">http://bit.ly/1kguprn</a> but i do not see the NameVirtualHost and the paragraph under that.</p>
  
  <p>I'm a newbie to the Centos/Linux environment, any help would be greatly appreciated :)</p>