Web Servers on Unix and Linux - New to apache 2.0

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > August 2005 > New to apache 2.0





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author New to apache 2.0
Eli

2005-08-11, 5:52 pm

Hi, am using Fedora Core 4, and I want to set up a virtual server for
playing with 2 domains that I have.

So far, I got apache running but not sure how to modify the site
http://localhost, I =B4ve put a folder in /var/www/html but no see
changes.

What am doing wrong or where should I start to get in the virtual
server as public_html.

Thanks in advance

Terry Stockdale

2005-08-11, 5:52 pm

On 11 Aug 2005 08:40:53 -0700, "Eli" <root@mejamedia.com> wrote:

>Hi, am using Fedora Core 4, and I want to set up a virtual server for
>playing with 2 domains that I have.
>
>So far, I got apache running but not sure how to modify the site
>http://localhost, I īve put a folder in /var/www/html but no see
>changes.
>
>What am doing wrong or where should I start to get in the virtual
>server as public_html.
>
>Thanks in advance


Basically, you have to tell Apache to do virtual hosting in the
httpd.conf file. This specifies where each domain's files are held.

You also may have to "fake" the servers in your /etc/hosts file in
order to have your system know that they are located on localhost.

Note that some distributions may break the httpd.conf into multiple
different files for ease of handling

I use CentOS, which is a free "clone" of RHEL.

Anyway, there is a long discussion, including examples, here
http://www.terrystockdale.com/forum...topic.php?t=165
in one of my forums.

--
Terry
My blog: http://www.TheNextWindow.com
My website: http://www.TerryStockdale.com
My tip site and newsletter: http://www.TerrysComputerTips.com
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com