Guest User!

You are not Sophos Staff.

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

Configure webbserver, which IP?

Stupid question;

Astaro 2.0
2 NIC
Webbserver on the internal net, DNAT, works ok with my www-address.
I doesn´t filter anything yet.

Question: How do I configure apache and other services that needs to know hostname/server-ip?

The entry in my external DNS points at Astaro, and the webbserver has an internal address.

Shall i use the external adress, which is used by Astaro, in all configurationfiles on my webbserver on the inside, or the internal, "actual" address?

The webbserver is not able to match it´s hostname with the one in my external DNS. Is there perhaps a DNS-dnat i have to specify? How?


This thread was automatically locked due to age.
Parents
  • My experience is as follow:

    I have a web server that used to answer to a REAL ip number; now that I put it behind an ASL box I did not touch anything for that box (except his host ip and gateway of course). ASL is doing DNAT for it and it works smoothly.

    if you have further questions just ask

    Regards
Reply
  • My experience is as follow:

    I have a web server that used to answer to a REAL ip number; now that I put it behind an ASL box I did not touch anything for that box (except his host ip and gateway of course). ASL is doing DNAT for it and it works smoothly.

    if you have further questions just ask

    Regards
Children
  • Nope. It couldn´t bind the webserver to the internal IP, of course, since i changed address on it. Couple of other services didn´t work either. I´ll try reinstalling the server, giving it the internal IP in the first place.

    But the question is, if i want Astaro to DNAT the name resolution both ways (www.domain.com  internal ip), do i have to do anything else except for activating the DNAT for HTTP and DNS both ways? Or just one way? Not at all?