You need to setup the local domain on the http conf file. @DarthCoin tenaciously wrote this guide that probably will be useful to you.
We highly recommend you using the amazing search functionality on this forum in the future, it provides a lot of insights