Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


more than one websites

Posted on 1998-03-05
Medium Priority
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?

Question by:borggreve
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

Accepted Solution

alexbik earned 800 total points
ID: 1587545

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


Author Comment

ID: 1587546
Yo, thanks!

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


Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

618 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