Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

virtual hosting 2

Status
Not open for further replies.

kzn

MIS
Jan 28, 2005
209
0
0
GB
Hi I am new to apache

I have successfully installed wamp.

I have two domains... say called .... and
I would like to host both of these on my server which only has one ip address.

Do I need an ip for both sites or can I modify settings to serve both of them? and what do I need to change to make it work?

I am currently very confused and any help would be appreciated.

Thank you
 
mod_vhost allows you to use DNS to point several domains to a single IP.

You then configure your httpd.conf with a folder/directory where your domains' web roots begin.

mod_vhost is smart enough to route traffic for to c:\webroots\domain1\docs and to c:\webroots\domain2\docs (for example)

(I use it in linux all the time, I presume it functions under WAMP)

D.E.R. Management - IT Project Management Consulting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top