• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 375
  • Last Modified:

Red Hat 5 Enterprise

How do I configure Red hat 5 with Virtual host for 3 websites?
0
Jack_son_
Asked:
Jack_son_
2 Solutions
 
-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
0
 
Chris SandriniSenior System EngineerCommented:
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
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now