Dear people,
I have a VPS and have a couple of IP's I can use.
I want to set it up that for example, my webserver serves on IP x.x.x.29 and my irc client uses x.x.x.30, and so on.
I tried to do some research, and I'll quickly stumbled upon IP aliases, but besides how to set it up, and how to configure apache to use them with virtual hosts, i didn't find much info on it.
Next thing I thought of was pseudo-interfaces as they appear to be called. "ifconfig create x". But I couldn't find all that much info on that either, nor how I would have to configure the program to use that particular NIC.
Another thing was jails, assigning a pseudo interface to a jail and running the program inside the jail. Is this possible?
Last thing I could come up with was brute forcing it with the firewall, but I don't know if that's even possible and some more info would also come in handy.
So does anybody know the best solution for this problem and/or where I can find more info on these things?
I have a VPS and have a couple of IP's I can use.
I want to set it up that for example, my webserver serves on IP x.x.x.29 and my irc client uses x.x.x.30, and so on.
I tried to do some research, and I'll quickly stumbled upon IP aliases, but besides how to set it up, and how to configure apache to use them with virtual hosts, i didn't find much info on it.
Next thing I thought of was pseudo-interfaces as they appear to be called. "ifconfig create x". But I couldn't find all that much info on that either, nor how I would have to configure the program to use that particular NIC.
Another thing was jails, assigning a pseudo interface to a jail and running the program inside the jail. Is this possible?
Last thing I could come up with was brute forcing it with the firewall, but I don't know if that's even possible and some more info would also come in handy.
So does anybody know the best solution for this problem and/or where I can find more info on these things?