Set up multiple sites on local machine


I have successfully installed Hestia on my raspberry pi, which is running Ubuntu server, and is configured for internal access on domain dev.local

If I go to my site loads.

I added a second site If I ping this it works but no matter what I try the site is not accessible.

I created the site with and without creating a separate DNS but nothing is working.

Anyone who could kindly assist me please?
Thank you

Or nano /etc/hosts on (L)unix based systems


Thank you.

So if I need to do this in the hosts file, is it worth using a panel for a local development server? I just assumed using a panel I would have an easy to use GUI for setting up my sub domains and test sites etc.

Sorry I am new to all this.

For setting up subdomain you need to use DNS or change hosts file.