08-11-05 10: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
[ Post a follow-up to this message ]
|