LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-29-2004, 01:22 AM   #1
dominant
Member
 
Registered: Jan 2004
Posts: 409

Rep: Reputation: 30
2 domains point on the same apache


I have 2 domains

1: server1.server.com
2: server2.server.com

and one box that runs apache 1.x

I want to bind the ebove domains with specific folders in the Document Root

for example if my document root is the /srv/www then i want.

server1.server.com -> /srv/www/server1
server2.server.com -> /srv/www/server2

Is that practicable?
 
Old 03-29-2004, 02:04 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Apache VirtualHost

It sounds like you want to configure a "Virtual Host". Look here:

# Apache 1.3.x
http://httpd.apache.org/docs/vhosts/

# Apache 2.x
http://httpd.apache.org/docs-2.0/vhosts/

# O'Reilly tutorial
http://www.onlamp.com/pub/a/apache/2...html?page=last
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2.0 - Some domains on SSL, some not - how many real IPs needed? tisource Linux - Networking 1 07-02-2005 09:07 AM
Apache: hosting multiple domains fturcic Linux - Software 1 02-15-2005 05:39 PM
Apache VirtualHost, multiple domains and subdomains chrisfx Linux - Networking 2 08-10-2004 02:58 PM
Apache Logs - Showing unusual domains mdavis Linux - Security 14 04-22-2004 10:05 PM
apache problems..no longer able to access domains marvc Linux - Software 7 06-07-2003 05:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:29 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration