LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-02-2008, 09:30 AM   #1
kreside
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Rep: Reputation: 0
Configuration Help - Fedora - Apache - Wold Press


I have worked in the past with redhat (7) but now i am tryig to setup a FEDORA server:
My goal is to run the APACHE web server with one IP and several NAMES
My goal is also to run the WORLD PRESS or any good BLOG SERVER
These are my persnal web pages and blogs

I am going round and round with the APACHE web server config no, and honestly I am totally lost..

I am willing to allow access via VNC if someone can help..

Thank you..
Kevin Reside
kreside@residefamily.com
 
Old 11-03-2008, 08:35 PM   #2
dkm999
Member
 
Registered: Nov 2006
Location: Seattle, WA
Distribution: Fedora
Posts: 407

Rep: Reputation: 35
This setup is fairly common; what you want is called Name-based Virtual Hosting. There is a pretty good tutorial on this on the Apache website here. I have set my systems up using a relatively stock httpd.conf file, to which I have added a line at the very end including a separate configuration file that defines the <VirtualHost> containers, one for each name that should be recognized.

There are two caveats: first, the log files and DocumentRoot that are declared in the main httpd.conf file are almost never used when you have virtual hosts defined. Instead, each virtual host gets its own, and all the references to that virtual host get logged in the host-specific logfiles. Second, when the server cannot figure out which VirtualHost to use, it used the first one defined. This is usually the case before you get DNS configuration done; at that point, the incoming name (www.foo.com) does not translate to any IP address that the server knows about, and so it uses the first Virtual Server it can find. This is pretty confusing at first, as it makes pages from that virtual server appear in response to a request for any of your servers.

Good luck, and post again if you have more detailed questions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hello linux wold bleketux LinuxQuestions.org Member Intro 4 08-07-2008 12:34 AM
Migrating Apache 1.3 configuration files to Apache 2 kaplan71 Linux - Software 0 03-28-2007 12:05 PM
LXer: http://www.clusterresources.com/pages/press/press-releases.php LXer Syndicated Linux News 0 04-12-2006 08:21 AM
What is the RS/6000 hardware model that wold work with AIX 5.3, 5.2 and 5.1? Minnie Nguyen AIX 3 02-21-2006 11:00 PM
Wold:ET runs great, but can't launch ut2004 Abe_the_Man Linux - Games 3 12-16-2004 11:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration