My friend pays a webhosting company and has 2 domains registered hosted on the same server.
the DNS entries for each point to the same address.
how does the server know what page to display?
Apparenly the webserver knows that if
www.domain1.com is accessed to display
~user/public_html/domain1/index.html
and if
www.domain2.com is accessed to display
~user/public_html/domain2/index.html
How do I accomplish this on my linux box? I'm using the apache that came with slack10.