Results 1 to 4 of 4

Thread: Apache configuring Ubuntu 8.04 Server

  1. #1
    Join Date
    Jun 2008
    Beans
    28

    Arrow Apache configuring Ubuntu 8.04 Server

    I am new to this
    First I tell what I need
    I have dedicated server
    --------------------------------
    I need hosting for multiple websites
    I need documentroot in /srv/www/ directory

    What to I have to do to configure my Apache2 to get multiple websites working in /srv/www/ directory ???

  2. #2
    Join Date
    Mar 2006
    Beans
    19

    Re: Apache configuring Ubuntu 8.04 Server

    You need to configure one virtual host for each site that you want to publish. For that, you should take a look at the default file in /etc/apache2/sites-available. In your case, basically, each virtual hosts file should change the DocumentRoot directive to be the path /var/www/yoursitefiles.

    I hope that helps.

  3. #3
    Join Date
    Jun 2007
    Location
    Neverland
    Beans
    894
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Apache configuring Ubuntu 8.04 Server

    Hello,

    I have written a long guide, using the CentOS 5 as the platform, but the principle remains pretty much the same, excluding the location of some of the files and directories, which I hope you can figure on your own.

    If you're interested, see the link in my siggie - please note it's 150 pages

    Cheers,
    Dedoimedo
    Linux Systems Expert / Systems Programmer, LPIC-1, LPIC-2(WIP), GSEC, CCHD, CCHA
    http://www.dedoimedo.com - A place to learn a lot about a lot!

    Pangolin Review | Ringtail Review | Linux Games | My books

  4. #4
    Join Date
    Jun 2008
    Beans
    28

    Arrow Re: Apache configuring Ubuntu 8.04 Server

    thanks for your wise answers -

    I will go on with posting here here as I proceed ...

Tags for this Thread

Bookmarks

Posting Permissions

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