Alright i installed whm, cpanel, and configured php etc, that all works. I got the nameserver set up , that works also. Now whenever i create an account via Add account in WHM the domain leads them to http://serverip
instead of http://serverip/~wwwacountname
how do i fix this, someone said in the apache config but i dont know what im looking for.