-1

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?

1
  • 1
    This is pretty basic stuff. What have you tried? Oct 7, 2013 at 17:01

2 Answers 2

3

Yes you can, just setup DNS A records.

7
  • But how would I connect my computer to multiple static IP's? Oct 7, 2013 at 15:06
  • @AnonymousUser You assign the IPs to the computer's interface[s].
    – jscott
    Oct 7, 2013 at 15:07
  • So for five IP's I need five interfaces or in my case five ethernet slots? Oct 7, 2013 at 15:08
  • 2
    Refer to your OS documentation. You can have multiple IPs on one interfaces, usually it's called IP alias.
    – jirib
    Oct 7, 2013 at 15:16
  • 1
    askubuntu.com/questions/100715/…
    – jscott
    Oct 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.

Not the answer you're looking for? Browse other questions tagged .