If your two websites are on 192. 168. 1, you only need to unpack both domain names to the IP address of xxx.xxx, and then you can add them to the IP address of xxx.xxx.xxx
Domain name 1.com website 1
Www.domain 1.com website 1
Domain2.com website 2
Www.domain2.com website 2