Solved

more than one websites

Posted on 1998-03-05
2
159 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
Comment Utility
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
Comment Utility
Yo, thanks!

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

Sincerely,
Raymond
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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 discusses moving either the default database or any database to a new volume.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now