LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't access virtual "inet addr" from host. (https://www.linuxquestions.org/questions/linux-newbie-8/cant-access-virtual-inet-addr-from-host-869805/)

thuongquoc 03-20-2011 12:14 PM

Can't access virtual "inet addr" from host.
 
I created a Virtual WebServer (I used CentOS as guest) by using VirtualBox to test my website. When I typed "/sbin/ifconfig" to get "inet addr" it showed 192.168.56.101. I used a web browser from my host (Fedora 14 GNOME) to access 192.168.56.101. It was good, It displayed "Apache 2 Test Page". But I accessed 192.168.56.101/mysite it redirected to 127.0.0.1/mysite and showed error page.
Any suggestion?
Thanks!

thuongquoc 03-20-2011 12:24 PM

I fixed the problem. It was wrong because my website addresses :)


All times are GMT -5. The time now is 09:28 PM.