diff --git a/panel/classes/Panel.php b/panel/classes/Panel.php
index 2d7d6a7..29e73ad 100644
--- a/panel/classes/Panel.php
+++ b/panel/classes/Panel.php
@@ -56,6 +56,10 @@ class Panel {
}
public static function get($f3) {
+ /* If DNS admin is not enabled we need to display the server IP to be used for DNS settings */
+ if ($f3->get('VDNSADMIN') != '1') {
+ $f3->set('default_ip', $f3->get('SERVER.SERVER_ADDR'));
+ }
echo \Template::instance()->render('home.html');
}
diff --git a/panel/ui/home.html b/panel/ui/home.html
index 10e072a..f8cfaf4 100644
--- a/panel/ui/home.html
+++ b/panel/ui/home.html
@@ -1,5 +1,61 @@
-Welcome to {{@PACKAGE}}!
+
Welcome to {{@PACKAGE}}!
+
+To deploy a new site:
+
+
+
+
+ - Add DNS
+ It may take a few minutes for DNS to begin working after being added to the system.
+
+
+
+ - Add DNS
+ This system does not have integrated DNS.
+ You need to manually add DNS for your domain.
+ Point your domain to the IP {{ @default_ip }}.
+ An example of a minimal DNS setup is:
+
+
+
+ Name |
+ Type |
+ Value |
+
+
+ example.com |
+ A |
+ {{@default_ip}} |
+
+
+ www.example.com |
+ CNAME |
+ example.com |
+
+
+ example.com |
+ MX |
+ mail.example.com |
+
+
+ mail.example.com |
+ A |
+ {{@default_ip}} |
+
+
+
+ The Website & Email pages for the domain will provide additional required DNS settings as needed.
+
+
+
+ - Add Website
+ After adding a website you will be prompted to add a Security Certificate and will be provided with access info for SFTP, MySQL, et cetera.
+
+ - Add Email
+ After enabling email for a domain you will be prompted to add a Security Certificate & DKIM, will be able to immediately begin adding email accounts, and will be provided with all required access info for email clients and webmail.
+
+