I have spent all weekend to replicate my development server back at home. I have an Apache server with 3 IP based virtual hosts pointing to
184.108.40.206 /var/www/www.a.com 220.127.116.11 /var/www/www.b.com 18.104.22.168 /var/www/www.c.com
Now I have been able to set up a VM on my desktop, installed the OS, the applications, the db server, apache etc. Everything is looking good so far.
So right now I have,
192.168.0.111 at /var/www/www.a.com 192.168.0.112 at /var/www/www.b.com 192.168.0.113 at /var/www/www.c.com
So when I go to 192.168.0.111, I go to www.a.com so I guess apache is working aswell.
What I want to do is, instead of going to www.a.com I want to change it to another address such as a.me.add1
How can I do this? I am looking through the virtual hosts section, I have changed server name entry etc but its not working.
Can you tell me in big picture what I would need to do to set that up? My current set up doesnt really help me much once the site get the www address.
Sorry if I am not explaining it right. I can provide my conf files if you need them. I have webmin installed.
Or could you tell if Document Root of IP address 192.168.0.111 points to /var/www/www.a.com, will it always resolve into that webaddress. That is if I enter 192.168.0.111 the browser will redirect it to www.a.com. What effect does Server Name has in this regard then?