Introduction
The Domains module handles all the Triangle and associated clients domain names. All the domains are
stored in single MySQL table. At the moment they can be added to; edited and deleted. Additional
options include the ability to display them at the bottom of the Triangle network of sites.
I want to extend the purpose of the domains management by doing the following items:
Job 1
- Put a cron job on the server to parse the domains table, create streams using the principals outlined here [Streaming Guide] the script will analyse each welcome page to make sure that each page is giving an HTTP 200 code back, if it is not then an email is to be sent to the administrator to warn that the site is down, reporting the code.
- In some case the page may well return a 200 code due to PHP errors but these errors may stop the page showing at all - so we need a mechanism to say that if the page is blank then also report back, or if the page contains any PHP warnings or notices, as we dont usually allow these to be displayed.
Job 2
- Putting in some functionality with http://www.enom.com/ i.e. Whois lookup for starters on our domains to see if any are expiring anytime soon, should store this date in the table and warn if they are.
External Links
|
Modules
|