HiI installed XAMPP 1.8 on a Centos 6 Virtual machine in order to publish a website.in local I can browse Xampp admin page and a test page in htdocs folder using url address ( hostname). I can ping my website url from internet (outside of my local network) and can telnet using port 80 .I can connect with SSH on VPS but When I try to browse the test page ,error code 10060 connection timeout is shown and cant browse the page.I stopped the iptables but the same error shows.please help me…Thanks

you should post the exact error via cut & paste - I suspect it is being generated by the Host OS. Is the VM running on a Windows Host? - You also kinda skipped over what server virtualization software is in use.

I don't do VMware - but I would guess its a NAT issue on the machine. There are a variety of ways to set up networking on VM's. I use VirtualBox and it has 5 different ways + not attached. I use the 'bridged' configuration for Vbox