![]() |
Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
When I've set up virtual hosts on apache, I've never needed to deal with another IP other than the server's own. AFAIK the IP will always be unchanged from the current one in use, and apache will bring up the page according to the url it has received. For example, I have a virtual host running on clue4all.net which appears as the following in httpd.conf: <VirtualHost amlothi.clue4all.net:80> DocumentRoot /home/amlothi/virtsite/ ServerName amlothi.clue4all.net ErrorLog /home/amlothi/amlothi_error_log TransferLog /home/amlothi/amlothi_access_log </VirtualHost> I haven't needed to alias any IPs, and just needed to make a dns entry for amlothi.clue4all.net that pointed to the clue4all.net IP. Apache then sees that it's coming to its IP but is looking for a different site and serves it up accordingly. I'm sure this isn't the only way to accomplish this type of virtual hosting, but I found it quick and painless. Hope that helped. Brian Conway dogbert at clue4all.net - Subcription/unsubscription/info requests: send e-mail with "subscribe", "unsubscribe", or "info" on the first line of the message body to discuss-request at blu.org (Subject line is ignored).