Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Using multiple IP addresses for serving UNIX
IP aliasing allows your server (or more accurately your interface card) to respond to more than one IP address.

I like to use a mixture of header based IP and real or aliased IP addresses, meaning that a number of URL's point (in DNS) to the same IP number, and other URL's have their own IP address.

eg -> -> -> ->

To do this, your interface device has to recognise and listen for the different IP numbers. This is done via IP aliasing.

Using the ifconfig command in OSX/BSD appears to be different from Linux.

Instructions for the syntax to do this is over on the Stepwise site.

Linux instructions for IP aliasing are available at Linux Documentation Project

You will also need to add listen directives to the apache config file - this is covered else where on this site.
  • Currently 3.33 / 5
  You rated: 5 / 5 (3 votes cast)

Using multiple IP addresses for serving | 0 comments | Create New Account
Click here to return to the 'Using multiple IP addresses for serving' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.