Forum Moderators: phranque
Incidentally my mail server is able to get external IP addresses without problem.
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
The "%h" comes up as 192.168.1.2 in every entry except for localhost which comes up as 127.0.0.1.
I tried turning on hostnamelookups but this still resolved to my local domain.
The performance cache runs on port 80 and the websites run on port 16080.
In the Server Admin dialog I turned off the performance cache option, but (as with many options in Server Admin) my preference wasn't respected.
The solution was to manually change the website ports to 80 (from 16080) in Webmin and then go back to Server Admin and disable the performance cache again.
Now my website is running on port 80 and all the IP addresses are correct.