?
Solved

more than one websites

Posted on 1998-03-05
2
Medium Priority
?
166 Views
Last Modified: 2010-03-18
I'm running Apache 1.2.4

I would like to run more than one websites on that server.
How can I arrange that?

t.i.a.
0
Comment
Question by:borggreve
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
alexbik earned 800 total points
ID: 1587545
Hi,

You can create multiple sites on an apache server using the <VirtualHost> directive in httpd.conf. You can either do this on IP number (in which case you will need to use the dummy net driver or IP aliasing), or depending on the HTTP_HOST variable.
The statements in your httpd.conf would look like this:

<VirtualHost IP_number_or_hostname>
ServerAdmin webmaster@domain.com
DocumentRoot /path/to/the/document/root
ServerName www.domain.com
TransferLog /path/to/your/access_log
</VirtualHost>


0
 

Author Comment

by:borggreve
ID: 1587546
Yo, thanks!

You serve well and will be rewarded with some quality points...

Sincerely,
Raymond
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question