Ya apache will direct the http queries to the proper domain via virtual hosting, you can have a whole bunch of hosts at one IP.Its all the the apache.config file, its well commented too, just a little cryptic in places, linux is a very literal and simple system really, ive found sometimes too simple, its easy to make things harder than they are.