Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, If I want to host a virtual web where should I config? is it in apache.conf or somewhere else? Please help. I am just learning debian (I am just ...
  1. #1
    Just Joined!
    Join Date
    May 2005
    Posts
    13

    Question Apache2 Again (Virtual Host)

    Hi,
    If I want to host a virtual web where should I config? is it in apache.conf or somewhere else?

    Please help. I am just learning debian (I am just a new victim of linux)

    Thanks

  2. #2
    Just Joined! Scratch_'s Avatar
    Join Date
    Oct 2006
    Location
    In your closet.
    Posts
    28
    The conf is usually in /etc/apache/httpd.conf

    The basic syntax for virtual hosts:

    <VirtualHost X.X.X.X>
    ServerName www.domain.com
    ServerAlias domain.com
    ServerAdmin mail@domain.com
    DocumentRoot /path/to/virtual/host/files
    </VirtualHost>

  3. #3
    Just Joined!
    Join Date
    Nov 2005
    Posts
    59
    in debian it is not httpd.conf check this Creating Name and IP Based Virtual hosts in debian

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •