LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-15-2005, 02:39 PM   #1
fturcic
LQ Newbie
 
Registered: Jan 2005
Location: ACT, Australia
Posts: 16

Rep: Reputation: 0
Apache: hosting multiple domains


I am in the middle of setting up my RH9 machine so it can host websites from multiple domains. This means that it should recognised traffic to www.test.com goes to a specific virtual server on the box. I also am not aware of how to create virtual directories for this purpose: do I set multiple ips on eth0 for each virtual server or...? How would I go about doing this?

Any help on this topic would be greatfully appreciated.
 
Old 02-15-2005, 05:39 PM   #2
QtCoder
Member
 
Registered: Aug 2003
Location: USA
Distribution: Slackware 12.0 RC1
Posts: 129

Rep: Reputation: 15
Try this site from Apache's Docs (assuming Apache 2 or higher): http://httpd.apache.org/docs-2.0/vhosts/.

You'll probably want to go to the section on Name-based Virtual Hosts. Using name-based vhosts, you don't have to have multiple IP's. That site explains things very well. It also will explain what goes on behind the scenes so a person can understand the process more thoroughly (which I like to do).

Last edited by QtCoder; 02-15-2005 at 05:41 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hosting multiple domains Imanerd Linux - Networking 2 01-04-2005 08:10 PM
hosting multiple sites w/ apache pH* Linux - Networking 2 10-15-2004 03:02 PM
Apache VirtualHost, multiple domains and subdomains chrisfx Linux - Networking 2 08-10-2004 02:58 PM
Multiple Domains??? cic Linux - Networking 1 10-08-2001 10:55 AM
Hosting my own domains on Linux with a router gomer1701ems Linux - Networking 5 02-16-2001 12:46 PM


All times are GMT -5. The time now is 12:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration