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?
Asked
Active
Viewed 82 times
-1
-
1This is pretty basic stuff. What have you tried? – Michael Hampton Oct 07 '13 at 17:01
2 Answers
3
Yes you can, just setup DNS A records.

jirib
- 1,240
- 8
- 15
-
-
-
So for five IP's I need five interfaces or in my case five ethernet slots? – JordanDevelop Oct 07 '13 at 15:08
-
-
-
2Refer to your OS documentation. You can have multiple IPs on one interfaces, usually it's called IP alias. – jirib Oct 07 '13 at 15:16
-
1http://askubuntu.com/questions/100715/how-to-set-up-multiple-ip-addresses – jscott Oct 07 '13 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.

symcbean
- 21,009
- 1
- 31
- 52