Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-07-2002, 05:21 PM   #1
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Rep: Reputation: 30
Running Two Web Sites On the same server

My questions is simply this:

Is it possible to run 2 or more websites on the same apache server or is it impossible?
Old 06-07-2002, 05:27 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
you can have 2 or more websites on the same apache server.. using the same IP of course too..
Old 06-07-2002, 05:38 PM   #3
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Original Poster
Rep: Reputation: 30
any idea how to do that? its not mentioned in the docs...
Old 06-08-2002, 11:13 PM   #4
Registered: Jan 2002
Location: Anchorage, AK
Distribution: Gentoo, Ubuntu and Slackware
Posts: 38

Rep: Reputation: 15
You need to set up apache to use virtual hosts. Not too sure how to do it, as I've never tried, but there's a (brief) introductory explanation in the book "Linux: Network Solutions for your Office" by Viktor Toth (published by Sams, I believe), by checking in the web site (again, look for Virtual Hosts references) or by searching on Google.

Virtual Hosts let you bind multiple IP addresses to a single NIC--pretty cool. Then apache can display the appropriate default web page based upon the IP address of the incoming requests. WAY cool!


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
Personal web server for testing web sites? Ariod Linux - Newbie 12 09-29-2005 04:30 PM
Multiple Web sites on home server pk_fox Linux - Networking 11 08-19-2004 05:38 AM
running web server pcdebb Programming 3 09-09-2003 09:25 AM
so is a web server running Linux without X 4x faster than win2k server? Mr. Mojo Risin General 3 09-02-2003 07:41 PM
multiple web sites from one server robmainella Linux - Networking 1 08-22-2003 10:55 PM

All times are GMT -5. The time now is 08:36 PM.

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