What information does your page get from the USNO exactly?
It gets the precise sun/moon data in the form:
<!-- get-USNO-sunmoon.php - Version 2.04 - 11-Nov-2015 -->
<!-- refetch seconds=3600 -->
<!-- using Cached version of ./cache/USNO-moondata.txt -->
<!-- unchunking response -->
<!-- in=854 out=854 bytes -->
<!-- processing JSON entries for Moon data -->
<!-- json_decode returns - No errors -->
<!-- USNOdata
Array
(
[beginciviltwilight] => 06:31
[beginciviltwilightdate] => 11/26/2016
[sunrise] => 06:59
[sunrisedate] => 11/26/2016
[suntransit] => 11:56
[suntransitdate] => 11/26/2016
[sunset] => 16:52
[sunsetdate] => 11/26/2016
[endciviltwilight] => 17:20
[endciviltwilightdate] => 11/26/2016
[moonrise] => 04:16
[moonrisedate] => 11/26/2016
[moontransit] => 10:00
[moontransitdate] => 11/26/2016
[moonset] => 15:38
[moonsetdate] => 11/26/2016
[moonphase] => Waning Crescent
[illumination] => 6%
[hoursofpossibledaylight] => 09:53
)
-->
The USNO data is used for weather software that DON'T return the data needed (like WeatherLink, older Meteobridge, Meteohub, etc) so they could display the dashboard and wxastronomy data just like the weather software programs that do provide the data.
That was done using the IP address (instead of the DNS hostname).
You can change get-USNO-sunmoon.php
$USNOUrl = "http://api.usno.navy.mil/rstt/oneday?date=$lclToday&coords=$myLat,$myLong&tz=$myTZOffset";
to
#$USNOUrl = "http://api.usno.navy.mil/rstt/oneday?date=$lclToday&coords=$myLat,$myLong&tz=$myTZOffset";
$USNOUrl = "http://199.211.133.93/rstt/oneday?date=$lclToday&coords=$myLat,$myLong&tz=$myTZOffset";
to temporarily use the IP address instead of the hostname.. it's working fine.