diff --git a/www/example-simple/hostnames.php b/www/example-simple/hostnames.php
new file mode 100644
index 0000000000000000000000000000000000000000..cb245a23283051ff6fbf536a91b042fcf583b9fa
--- /dev/null
+++ b/www/example-simple/hostnames.php
@@ -0,0 +1,47 @@
+<?php
+
+require_once('../_include.php');
+
+require_once('SimpleSAML/Utilities.php');
+require_once('SimpleSAML/Session.php');
+require_once('SimpleSAML/XML/MetaDataStore.php');
+require_once('SimpleSAML/XML/SAML20/AuthnRequest.php');
+require_once('SimpleSAML/XML/SAML20/AuthnResponse.php');
+require_once('SimpleSAML/Bindings/SAML20/HTTPRedirect.php');
+require_once('SimpleSAML/Bindings/SAML20/HTTPPost.php');
+require_once('SimpleSAML/XHTML/Template.php');
+
+session_start();
+
+/* Load simpleSAMLphp, configuration and metadata */
+$config = SimpleSAML_Configuration::getInstance();
+$metadata = new SimpleSAML_XML_MetaDataStore($config);
+
+
+
+$attributes = array();
+
+$attributes['selfURLhost'] = array(SimpleSAML_Utilities::selfURLhost());
+$attributes['selfURLNoQuery'] = array(SimpleSAML_Utilities::selfURLNoQuery());
+$attributes['selfURL'] = array(SimpleSAML_Utilities::selfURL());
+
+$attributes['HTTP_HOST'] = array($_SERVER['HTTP_HOST']);
+$attributes['HTTPS'] = array($_SERVER['HTTPS']);
+$attributes['SERVER_PROTOCOL'] = array($_SERVER['SERVER_PROTOCOL']);
+$attributes['SERVER_PORT'] = array($_SERVER['SERVER_PORT']);
+
+
+
+
+$et = new SimpleSAML_XHTML_Template($config, 'status.php');
+
+$et->data['header'] = 'SimpleSAMLphp Diagnostics';
+$et->data['remaining'] = 'na';
+$et->data['attributes'] = $attributes;
+$et->data['valid'] = 'na';
+$et->data['logout'] = '';
+
+$et->show();
+
+
+?>
\ No newline at end of file