Solved

more than one websites

Posted on 1998-03-05
2
160 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
2 Comments
 
LVL 2

Accepted Solution

by:
alexbik earned 200 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Reaching outside NTP servers from within a domain? 12 103
url shaping application 8 54
FTP File Transfer Failure 13 158
Help instaling linux on vmware 36 85
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

832 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