Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 172
  • Last Modified:

more than one websites

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
borggreve
Asked:
borggreve
1 Solution
 
alexbikCommented:
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
 
borggreveAuthor Commented:
Yo, thanks!

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

Sincerely,
Raymond
0

Featured Post

Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now