how to config apache2 to host websites

Support for webhosts that use CentOS
Post Reply
777666
Posts: 5
Joined: 2011/06/25 05:13:20

how to config apache2 to host websites

Post by 777666 » 2011/06/25 05:24:39

any1 know how to config apache so i can use ServerName at my web browser ?

here is what i am trying to do:
i need to host a number of web sites at my mac, for example: hostone.com, hosttwo.com, hostthree.com and etc
since i need to host more than one website at the same pc, i use name based virtual hosts
so i have hostone at 192.168.0.1:1234 and a servername of "hostone"
hosttwo at 192.168.0.1:1235 with a server name of "hosttwo"
and etc

my question is , how do i config my local settings, so all of my local network computers can access "hostone" site by type "hostone" at their browser and "hosttwo" site by type "hosttwo" at their browser


Thanks

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

how to config apache2 to host websites

Post by pschaff » 2011/06/26 10:34:06

Please do not dual-post. This thread has been locked. Replies should go to the [url=https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=31876&forum=37]original thread[/url].

Post Reply

Return to “CentOS 5 - Webhosting Support”