I'm currently running the latest version of Ubuntu Server. I currently am pointing my subdomain to my static IP address. I have 5 static IP's and I'm wondering how I could use all static IP's at once so I can give each domain its own IP. If not, is there a better way too go about this?
2 Answers
Yes you can, just setup DNS A records.
-
-
-
So for five IP's I need five interfaces or in my case five ethernet slots? Oct 7, 2013 at 15:08
-
2Refer to your OS documentation. You can have multiple IPs on one interfaces, usually it's called IP alias.– jiribOct 7, 2013 at 15:16
-
1
Yes, it's possible, indeed it's the easiest way to configure multiple SSL hostnames.
As to how you achieve that....it depends. If you're doing NAT on your router, just map the static addresses to the address of the host. If your router just does routing then add the IP addresses on the NIC connected to the router.