Hosting multiple domains with different IP addresses
Hello, I've recently bought a linux dedicated server. I am looking for some guide or maybe some help on how to host multiple domains on the same linux box (I know you can do this with VirtualHosts on Apache) but with different IP addresses. I purchased three extra IP addresses from my host in hopes to have a setup sort of like this:
mydomain.com = 7.7.7.7
otherdomain.com = 9.9.9.9
but all hosted on the same box.
I havent much experience with linux networking so this is sort of new to me.
Alos, how is this all done on the box? Is it with /etc/hosts? It might sound foolish but I haven't got a clue. I tried searching around and I didn't get anywhere. Any help is appreciated, thanks.
Also, I'll be using CloudFlare as my DNS server and as a proxy.. If this matters.
Last edited by ashl3y_; 05-03-2013 at 01:16 AM.
|