New website returns 404 and log files wasn't created on the server

this works 100% change group of public_html to nogroup

example


chown Yourusername:nogroup  /home/domain.com/public_html/