Access to 2nd 3rd and 4th v hosts

Hello

I have just started used webmin Virtualmin ( web min again )

When I built the last setup , I was working on a live box so my dns server would help if I wanted to go to any of my domains

I am now trying to build one not live , ( I do have a public ip but the domains don’t point to this ip

So I can get into the 1st domain no problem with the IP address

How do I get to the other domains. x.x.x.221 ???

Trying to build this as much off line while I am away , so when I do return home , it should be a simple swap of network cables , move the files from the old server to the new server and away we go

OS is Debian 9 running under Proxmox ,

Thanks for any and all help

Richard

You add the names and IP addresses to the “hosts” file on the computer you are using to try and access your sites (ie. your laptop). The location differs depending on the operating system you are using, so you might have to google it. I use a Debian desktop and it is /etc/hosts.

Don’t forget to remove them again when your new server goes live.