Forum Moderators: phranque

Message Too Old, No Replies

Apache big-small problem.

         

maximek77

8:18 am on Sep 14, 2005 (gmt 0)

10+ Year Member



Hi all.
Im new apache server owener & i have big configuration problem. I try to setup my server in conf. below
One ip addr and site adress:
www.domain.com
forum.domain.com
shop.domain.com
...
I want to setup all this sites in one server
www.domain.com is default site so i try to setup VS

<VirtualHost name1.mydomain.com>
DocumentRoot /usr/local/apache/name1_www
ServerName name1.mydomain.com
ErrorLog /usr/local/apache/logs/name1_logs/error_log
TransferLog /usr/local/apache/logs/name1_logs/access_log
</VirtualHost>

but after do this when i try to connect to eg. formu...
in my browser opens www...

How i can do this (i read apache docs but i can find out my problem solutions)

Thx for Help :)

jdMorgan

9:07 pm on Sep 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



maximek77,

Wecome to WebmasterWorld!

I recommend that you start with the Apache Name-based virtual hosts documentation [httpd.apache.org].

Jim