faqts : Computers : Internet : Web Servers : Apache

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

23 of 29 people (79%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

how do i place multiple websites on one apache server

Jun 19th, 2001 12:59
Mauricio Guerra, albert leblanc,


You can use the virtual host facility provided by Apache. All the 
documentation is here:

http://httpd.apache.org/docs/vhosts/index.html




I personaly don't use this one, because i prefer to manage indepently 
every website. To do this you just need to:
- copy a different httpd.conf (with a different name) file for each 
website and make the appropiate modifications to it.
- you also need more than one interface cards in your machine, or 
create virtual interfaces with different IPs.


You'll need a different IP to each website. With virtual hosts you only 
need one.