Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 12-21-2004, 03:12 PM   #1
LQ Newbie
Registered: Dec 2004
Posts: 6

Rep: Reputation: 0
Red Hat 9 GUI Virtual Hosts setup

Is there any step by step information on using Ret Hat 9 GUI to setup Name Based Virtual Hosts or IP Based in Apache. I havenít been able to find one, so I bought a book on Mastering Red Hat Linux 9 and Iím still not getting any results. Iíve been trying for over a week and Iím stuck, so as a last resort Iím posting here.

1st. Do I need to setup the DNS server, if so, do I need Caching?

Here is my current setup.

I am behind a linksys router and have port 80 forwarded to my serverís IP e.g.

I installed ddclient to update my dynamic IP for Zoneedit which I have setup for 2 of my sites. This works fine, enough said.

Using a browser, when I type in and I get the Apache test web page - ďThis page is used to test the proper operation of the Apache Web server after it has been installed. If you can read this page, it means that the Apache Web server installed at this site is working properly.Ē

Great, I know the error page noindex.html file works. So Apache is working.

Now Iím trying to use the Red Hat GUI interface to set all this stuff up. So when I start the Apache Configuration and the information on the Apache Configuration is as follows

Main tab
Server Name:,
Available Addresses
All available addresses on port 80
Virtual Hosts
Name Default Virtual Host Ė I changed nothing here

Added Virtual Host Properties
Virtual Host Name: I tried
IP Address:
Host Name
As for the IP address, Iíve also tried *:80 and it still did not work.
I created another eth0:1 for IP and eth0:2 for IP
Went through setting up the DNS server to have point to and point to but it didnít help so I stopped the service.

Here is what is now in the httpd.conf
DocumentRoot /var/www/mywebsite1/htdocs/
ServerAdmin: e-mail address
HostNameLookups off

I stoop the restart the httpd service after making any changes.

Old 12-21-2004, 05:13 PM   #2
Senior Member
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
Step one: dump the GUI. GUI config tools suck
Step two: read this

The config block you posted looks right (except the ':' after ServerAdmin, and the ServerAlias is redundant), but if I had to guess I'd say that the config "tool" didn't uncomment NameVirtualHost *:80 in httpd.conf
Old 12-21-2004, 06:29 PM   #3
LQ Newbie
Registered: Dec 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Yup, I think the GUI isn't going to work for me at this time.



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
apache-ssl setup virtual hosts notolerance Linux - Software 3 12-22-2005 04:20 PM
GUI setup Red Hat Linux 9.0 sniperbooger Linux - Newbie 1 11-05-2005 01:13 PM
webalizer setup for virtual hosts intranet_man Linux - Security 1 03-03-2005 12:00 PM
How to setup virtual hosts for a web site? George2 Linux - Software 4 10-21-2003 03:46 AM
Hosts in Red Hat 7.3 frankencat Linux - General 3 09-24-2002 11:10 AM

All times are GMT -5. The time now is 08:03 AM.

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