For accessing your projects/domain via browser, you need to set up a host entry that points to 127.0.0.1.
Editing the hosts file on MacOs and Linux
- Open a terminal and run the following command:
sudo nano /etc/hosts
- Add your domains(s) at the end of the file and save it.
Editing the hosts file on Windows 10
- Search for Notepad and run as administrator.
- Open the hosts file and add your domains(s) at the end of the file and save it.