How can I acces a running webserver from Mac OS?

Discussion in 'Linux Virtual Machine' started by Joralfo, Nov 1, 2010.

  1. Joralfo

    Joralfo Bit poster

    Messages:
    2
    Hello dear people in the parallel world,
    I have a webserver running on gentoo linux in parallels (I did not install it -- I received a copy from a friend). How can I access it from the mac side via browser? You see I am clueless.

    ifconfig from the mac side says vnic0 is at 10.211.55.2 -- it also responds on ping.
    ifconfig from the gentoo side says eth0 is at 212.201.... and lo at 127.0.0.1

    Neither do respond in the browser -- only the 212.201... which resolves to the original webserver in the internet.

    Do you have an idea?

    Best,
    J
     
  2. Joralfo

    Joralfo Bit poster

    Messages:
    2
    I have figured it out. I did:

    nano -w /etc/conf.d/net

    an wrote in it:
    config_eth0=( "10.211.55.77 netmask 255.255.255.0 broadcast 10.211.55.255" )
    routes_eth0=( "default gw 10.211.55.1" )

    changed /etc/hosts respectively

    Then I had to remove a redirect in /var/www/localhost/htdocs/index.php

    Maybe someone can use this information. Cheers!
     

Share This Page