s is the Eleven 'This domain is registered' page. This page is shown if the * requested URL is not registered in the Apache configuration of any site on the * server. The scripts in this page do also check if the Webdevelopers should be * notified. * * This script is hosted in the Eleven PHP Git repository. Please do not make changes * to it on the server. Along with this script comes a generic 'known-hosts.txt' file * with regexes of known missing URL's which should not be notified. And on the server * a 'server-known-host.txt' file can be placed holding server specific known missing * hosts, for instance for disabled sites. */ // set the HTTP status to 404, to notify monitoring tools that this is not the correct page header("HTTP/1.0 404 Not Found"); /** * Checks if the given URL is a valid domain name. */ function isValidDomainName($requestedHost) { return preg_match("/^(?:[-A-Za-z0-9]+\.)+[A-Za-z]{2,6}$/", $requestedHost); } /** * Checks if the given URL is the servers host name. */ function isServerUrl($requestedHost) { $serverName = $_SERVER['SERVER_NAME']; $serverIP = $_SERVER['SERVER_ADDR']; return ($requestedHost == $serverName || $requestedHost == $serverIP); } /** * Checks if the given URL matches one of the 'known hosts' URL's. */ function isKnownMissingHost($requestedHost) { $knownHosts = file('known-hosts.txt', FILE_IGNORE_NEW_LINES); $serverKnownHosts = file('server-known-hosts.txt', FILE_IGNORE_NEW_LINES); if (is_array($serverKnownHosts)) { $knownHosts = array_merge($knownHosts, $serverKnownHosts); } foreach($knownHosts as $hostRegex) { if (preg_match("/^" . $hostRegex . "$/i", $requestedHost)) { return true; } } return false; } /** * Check if proto is https. */ function isHttps() { $https = $_SERVER['HTTPS']; return $https; } /** * Notifies the Eleven webdevelopers of a possibly not configured URL. */ function notifyWebdevelopers($serverName, $requestedHost) { $serverName = $_SERVER['SERVER_NAME']; $remoteIP = $_SERVER['REMOTE_ADDR']; $request_uri = $_SERVER['REQUEST_URI']; $protocol = $_SERVER['SERVER_PROTOCOL']; $protocol2 = $_SERVER['HTTPS']; $port = $_SERVER['SERVER_PORT']; $to = "webdevelopers@eleven.nl"; $subject = "Niet gekoppelde domeinnaam?"; $message = "Er kwam een request binnen op server '" . $serverName . "' voor domeinnaam '" . $requestedHost . "' van host '" . $remoteIP . "'('" . $request_uri . "')'" . "', maar deze request kwam uit op de 'deze domeinnaam is geregistreerd' pagina." . " Waarschijnlijk moet deze domeinnaam dus nog toegevoegd aan een Apache virtual host!" . "' Request was met protocol '" . $protocol . "' met https '" . $protocol2 . "'en port'" . $port . "'!'"; mail($to, $subject, $message); } /** * The main check and notify routine. */ if (isset($_SERVER['HTTP_HOST'])) { $requestedHost = $_SERVER['HTTP_HOST']; $request_uri = $_SERVER['REQUEST_URI']; if (isValidDomainName($requestedHost) && !isServerUrl($requestedHost) && !isKnownMissingHost($requestedHost) && ($_SERVER['SERVER_PORT'] == "80")) { notifyWebdevelopers($serverName, $requestedHost); } elseif (isValidDomainName($requestedHost) && !isServerUrl($requestedHost) && ($_SERVER['SERVER_PORT'] == "443")) { header("Location:http://$requestedHost$request_uri"); } } ?> Deze domeinnaam is geregistreerd voor een relatie van Eleven

Deze domeinnaam is geregistreerd voor één van onze relaties.

Hebben wij de domeinnaam www.vitiswelzijn.nl voor u geregistreerd en wilt u meer weten over de status van deze registratie, neem dan contact op met ons Support team via support@eleven.nl.

Wilt u meer informatie over het registreren van een domeinnaam of over de andere diensten die Eleven kan leveren? Neem dan geheel vrijblijvend contact met ons op voor advies en maak een afspraak.