views:

35

answers:

2

I'm newbie to the linux and apache server configuration so please give me some advice.

I installed VMware in my WinXP and installed CentOS5 to it. After I set up Apache server in my CentOS, I can access that server from my CentOS(of course). But is there a way to access that from my Windows?

I think that is definitely possible if some ip address and apache configuration is set properly...

A: 

You need to make sure you have added a VMNetwork, a network adapter to the VM, and that the VMNetwork is one that is bound to being able to use your Host network card. If you have a dhcp server (common from a household DSL router), then your VM Guest should get an IP address from it. Then you should be able to start apache and then browse to it by the dhcp address received.

REW
+1  A: 

Go into the device settings on the VM and make sure your ethernet adapter is set to bridged.

Refresh the eth0 interface in centOS and run 'ifconfig' to get the IP address.

At that point you should be able to just throw the IP into a browser on the host machine and be good to go.

castis