Red Hat 5 Enterprise

Jack_son_
Jack_son_ used Ask the Experts™
on
How do I configure Red hat 5 with Virtual host for 3 websites?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
-Q-
Commented:
Hello,

Assuming you are using Apache as your web server you will need to edit your apache configuration to reflect the 3 sites being hosted. Your will need to ensure the DNS is setup so that your sites resolve correctly to the webhost so they pass it to the correct virtualhost/path configuration.

Step by Step:
http://dev.antoinesolutions.com/apache-server/virtual-host

Virtual host files configurations:
http://httpd.apache.org/docs/2.2/vhosts/examples.html
Senior System Engineer
Top Expert 2012
Commented:
Also good howto for CentOS which is exactly the same

http://wiki.centos.org/TipsAndTricks/ApacheVhostDir

Basically

- install httpd
- configure your httpd.conf to apply virtualhosts
- restart your httpd

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial