Hi,
you first need to edit your apache configuration file for this,
for first ip
<Virual Host your 1st ip address:80>
Document Root /var/www
then for second ip
Virual Host your 2nd ip address:80>
Document Root /var/www1
you have to manually create /var/www1 directory and put your html file inside that directory for second domain there.
This is what i have done for creating ip based virtual hosting in my ubuntu server.
|