Score:0

How do you set up multiple IP addresses for an Apache webserver?

fk flag

I need to have Apache redirect to some pages when using on set of IP and redirect to another page when using another set of IP, but I am not sure if you can have more than 1 IP on an Apache server.

I see different IPS inside my current VirtualHost configs for my Apache server, but I am not sure where those IPs are coming from and how they redirect to different urls when I don't see any CNAME configuration associated with them. I would think that there are CNAME configs with the url endpoint and the IP inside VirtualHost, but I don't see them. Am I wrong on this?

Also, I am using AWS, so I am wondering if I need to purchase the IP address before I can use a new IP address on this Apache web server.

jp flag
You can use multiple IPs with Apache. https://httpd.apache.org/docs/2.4/vhosts/examples.html
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.