This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

local hosts-file being ignored by astaro

Hi,

I'm trying to use the hosts-file on my computer to temprorary setup another ip for a site that is under development. IE:

ip.ip.ip.ip  www.mysite.com

It seems like astaro is ignoring my settings and use the 'real' ip for the server.

The reason i think it's Astaro causing this, is that i've tried the same with a 3G modem connected to the computer, and it worked.

Any idea why this happens?

I'm using Astaro 7.402 with HTTP proxy (transparent).

Thanks in advance


This thread was automatically locked due to age.
Parents
  • I don't understand your question.  Do you mean that you're trying to access by using www.mysite.com, but that is being resolved to the public IP instead of the private IP in your internal network?  If so, then you need a static route in the Astaro DNS Proxy or your internal name server: 'www.mysite.com -> [Internal IP]'.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Reply
  • I don't understand your question.  Do you mean that you're trying to access by using www.mysite.com, but that is being resolved to the public IP instead of the private IP in your internal network?  If so, then you need a static route in the Astaro DNS Proxy or your internal name server: 'www.mysite.com -> [Internal IP]'.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Children
No Data