New to apache 2.0
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Web Servers on Unix and Linux > New to apache 2.0




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    New to apache 2.0  
Eli


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-11-05 10: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






[ Post a follow-up to this message ]



    Re: New to apache 2.0  
Terry Stockdale


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:04 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register