Red HatThis forum is for the discussion of Red Hat Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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. 192.168.1.25
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 e.g.mywebsite1.com and e.g.mywebsite2.com 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
Server Name: 192.168.1.25,
All available addresses on port 80
Name Default Virtual Host Ė I changed nothing here
Added Virtual Host Properties
Virtual Host Name: mywebsite1.com I tried e.g.mywebsite1.com
IP Address: 192.168.1.25:80
Host Name e.g.mywebsite1.com
As for the IP address, Iíve also tried *:80 and it still did not work.
I created another eth0:1 for IP 192.168.1.26 and eth0:2 for IP 192.168.1.27
Went through setting up the DNS server to have e.g.mywebsite1.com point to 192.168.1.26 and e.g.mywebsite2.com point to 192.168.1.27 but it didnít help so I stopped the service.
Here is what is now in the httpd.conf
ServerAdmin: e-mail address
I stoop the restart the httpd service after making any changes.
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