Web services and dns gone mad

I searched everywhere but I can't seem to find any answer on the (for me) inexplicable behavior of my web services and DNS. I am running the latest server version. I really hope somebody can help me...


It started when my isp changed my IP address. It's dynamic but normally it stays the same unless something unusual happens. Before this, the server was running fine, no issues that troubled daily operations. All my websites where online and happy. I didn't change or reconfigure anything.

Because of the new assigned IP address I off course changed the IP address for my domain at my host.


Since my IP address is changed, Website services are not behaving normally anymore. None of the SSL sites work anymore and the non SSL sites are very unstable. Sometimes they are online often they are not. The Reachability check shows that sometimes my Public Host Name looks healthy and sometimes only my IP address is available. It keeps changing for no apparent reason. When only the IP address is available and I do a Reachability check it tells me this: "This server's host name resolves to an IP address that does not match this server". I tried everything I can think of to resolve this. I am running a server for a few years now so I know a few tricks and I am pretty sure everything is configured as it should.


When I check the error logs I get error messages I don't know how or where to solve.

(Server Website SSL Error Log)

[Mon Jul 03 19:33:38.154329 2017] [ssl:warn] [pid 26347] AH01916: Init: (sub.domain.com:443) You configured HTTP(80) on the standard HTTPS(443) port!

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using sub.domain.com. Set the 'ServerName' directive globally to suppress this message

(DNS Service Log)

03-Jul-2017 20:24:14.465 reloading configuration succeeded

03-Jul-2017 20:24:14.465 reloading zones succeeded

03-Jul-2017 20:24:14.466 zone 2.0.10.in-addr.arpa/IN/com.apple.ServerAdmin.DNS.public: has no NS records

03-Jul-2017 20:24:14.466 zone 2.0.10.in-addr.arpa/IN/com.apple.ServerAdmin.DNS.public: not loaded due to errors.

03-Jul-2017 20:24:14.517 all zones loaded

03-Jul-2017 20:24:14.517 running


Hopefully somebody can make sense of this all.

Mac mini (Late 2012), OS X Server

Posted on Jul 3, 2017 11:58 AM

Reply
3 replies

Jul 3, 2017 12:21 PM in response to pepmachine

I don't see immediately the solution but perhaps this can help:


The first few lines are coming the HTTPD apache server. On macOS that's configured with files under /etc/apache2. The main one being httpd.conf. To my knowledge the error AH00558 is not really a blocking one. But to solve it look for a line with "ServerName" in it and adapt it.


Other suggestion:

Perhaps you can search for files that still mention your old IP address?

Using Terminal:

# sudo grep-R'your old ip'*.*

Jul 3, 2017 2:04 PM in response to LordBytes

Thanks for your help!


Couldn't find an active line containing ServerName in the http.conf so I created one to see what happens. Nothing to report yet.

I searched for my old IP address, found nothing except some log entries.

Especially the error: You configured HTTP(80) on the standard HTTPS(443) port! bugs me. I have no idea what's going on but it seems the source of my Web services issues.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Web services and dns gone mad

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.