2022-07-01 15:24:26 -07:00
< include href = "header.html" / >
< table >
< tr >
2023-06-19 11:53:16 -07:00
< th > Website< / th >
2022-07-01 15:24:26 -07:00
< th > Status< / th >
2024-09-18 12:36:22 -07:00
< th > PHP Version< / th >
2023-06-19 11:53:16 -07:00
< th > Action< / th >
2022-07-01 15:24:26 -07:00
< / tr >
< tr >
2023-06-19 11:53:16 -07:00
< td > {{ @vhost_array.virtualhost }}< / td >
< td > {{ @vhost_array.status }}< / td >
2024-09-18 12:36:22 -07:00
< td > {{ @vhost_array.php }}< / td >
2023-06-19 11:53:16 -07:00
< td >
2024-09-18 12:36:22 -07:00
< a href = "{{@BASE}}/Websites/{{ @vhost_array.virtualhost }}/Edit" > Edit< / a >
< check if = "{{ @NAV.mapping=='vpanel' }}" >
< check if = "{{ @vhost_array.status=='Enabled' }}" >
< true > < a href = "{{@REALM}}/Disable" > Disable< / a > < / true >
< false > < a href = "{{@REALM}}/Enable" > Enable< / a > < / false >
< / check >
< a href = "{{@REALM}}/Delete" > Delete< / a >
2023-06-19 11:53:16 -07:00
< / check >
< / td >
< / tr >
< / table >
< br > < br >
< table >
< tr >
< th > System User< / th >
< th > PHP Workers< / th >
< th > Action< / th >
< / tr >
< tr >
< td > {{ @vhost_array.username }}< / td >
< td > {{ @users_array.fpmmax }}< / td >
2024-08-30 14:01:15 -07:00
< check if = "{{ @NAV.mapping=='vhost' }}" >
< true > < td > < a href = "{{@BASE}}/Users/{{ @users_array.username }}/Edit" > Change Password< / a > < / td > < / true >
< false > < td > < a href = "{{@BASE}}/Users/{{ @users_array.username }}/Edit" > Edit User< / a > < / td > < / false >
< / check >
2023-06-19 11:53:16 -07:00
< / tr >
< / table >
2024-08-30 14:01:15 -07:00
2023-06-19 11:53:16 -07:00
< check if = "isset(@cert_array)" >
2023-07-05 11:02:13 -07:00
< true >
< br > < br >
< table >
< tr >
< th style = "white-space: nowrap;" > Certificate< / th >
< th style = "white-space: nowrap;" > Expiration< / th >
< th style = "white-space: nowrap;" > Secured Hostnames< / th >
2024-08-30 14:01:15 -07:00
< check if = "{{ @NAV.mapping=='vpanel' }}" > < th > Action< / th > < / check >
2023-07-05 11:02:13 -07:00
< / tr >
< tr >
< td style = "white-space: nowrap;" > {{ @cert_array.common }}< / td >
< td style = "white-space: nowrap;" > {{ @cert_array.end }}< / td >
< td style = "white-space: nowrap; text-align: right;" > {{ @cert_array.alternative | raw }}< / td >
2024-08-30 14:01:15 -07:00
< check if = "{{ @NAV.mapping=='vpanel' }}" > < td style = "white-space: nowrap;" > < a href = "{{@BASE}}/Certs/{{@vhost_array.virtualhost}}/Delete?r={{@PATH}}" > Delete< / a > < / td > < / check >
2023-07-05 11:02:13 -07:00
< / tr >
< / table >
< br > < br >
< / true >
< false >
2024-08-30 14:01:15 -07:00
< check if = "{{ @NAV.mapping=='vpanel' }}" >
< hr >
< check if = "{{ @dnsinfo.a.status=='Verified' }}" >
< true >
You need a Security Certificate. < a href = "{{@BASE}}/Certs/{{@vhost_array.virtualhost}}/Add?r={{@PATH}}" > Click Here< / a > to add one now.
< / true >
< false >
< span style = "color:red" > You need a Security Certificate for {{ @vhost_array.virtualhost }}.< / span >
< br >
Before you can add one you must make the DNS change listed below. Once that's completed come back here and this message will change to an option to create a Security Certificate.
< br >
< small > Note that after you add DNS records it can take some time for the changes to propagate and show up here.< / small >
< br > < br >
< table >
< tr > < th style = "color:{{ @dnsinfo.a.color }}" colspan = "2" > {{ @dnsinfo.a.status }} A Record for {{ @vhost_array.virtualhost }}< / th > < / tr >
< tr > < td style = "text-align: right;" > Type:< / td > < td > A< / td > < / tr >
< tr > < td style = "text-align: right;" > Host:< / td > < td > {{ @vhost_array.virtualhost }}< / td > < / tr >
< tr > < td style = "text-align: right;" > Value:< / td > < td > {{ @dnsinfo.server_addr }}< / td > < / tr >
< tr > < td style = "text-align: right;" > TTL:< / td > < td > 3600 (or default)< / td > < / tr >
< tr > < td > < / td > < td > < small > This should be the only A record for {{ @vhost_array.virtualhost }}.< / small > < / td > < / tr >
< / table >
< br > < br >
< table >
< tr > < th style = "color:{{ @dnsinfo.a.color }}" colspan = "2" > Verify CNAME Record for www.{{ @vhost_array.virtualhost }}< / th > < / tr >
< tr > < td style = "text-align: right;" > Type:< / td > < td > CNAME< / td > < / tr >
< tr > < td style = "text-align: right;" > Host:< / td > < td > www.{{ @vhost_array.virtualhost }}< / td > < / tr >
< tr > < td style = "text-align: right;" > Value:< / td > < td > {{ @vhost_array.virtualhost }}< / td > < / tr >
< tr > < td style = "text-align: right;" > TTL:< / td > < td > 3600 (or default)< / td > < / tr >
< tr > < td > < / td > < td > < small > This should be the only record for www.{{ @vhost_array.virtualhost }}.< br > Note this admin did not check for this record, it may already exist.< / small > < / td > < / tr >
< / table >
< / false >
< / check >
< hr >
2023-07-05 11:02:13 -07:00
< / check >
< / false >
2023-06-19 11:53:16 -07:00
< / check >
< table >
< tr > < th colspan = "2" > Remote Access< / th > < / tr >
< tr > < td style = "text-align: right;" > Protocol:< / td > < td > SFTP (SSH File Transfer Protocol)< / td > < / tr >
2023-09-28 12:49:33 -07:00
< tr > < td style = "text-align: right;" > Hostname:< / td > < td >
< check if = "isset(@cert_array)" >
< true > {{ @vhost_array.virtualhost }}< / true >
< false >
< check if = "{{ @dnsinfo.a.status=='Verified' }}" >
< true > {{ @vhost_array.virtualhost }}< / true >
< false > {{ @dnsinfo.server_addr }}< / false >
< / check >
< / false >
< / check >
< / td > < / tr >
2023-06-19 11:53:16 -07:00
< tr > < td style = "text-align: right;" > Username:< / td > < td > {{ @vhost_array.username }}< / td > < / tr >
< tr > < td style = "text-align: right;" > Password:< / td > < td > < span class = "hidden" > {{ @users_array.passwd }}< / span > < small > ← hover mouse here to reveal< / small > < / td > < / tr >
2023-08-10 08:51:17 -07:00
< tr > < td style = "text-align: right;" > Directory:< / td > < td > /srv/www/{{ @vhost_array.virtualhost }}/html/< / td > < / tr >
2023-06-19 11:53:16 -07:00
< tr > < td style = "text-align: right;" > < small > Notes:< / small > < / td > < td > < small > The above information can also be used for SSH access.< / small > < / td > < / tr >
< / table >
< br > < br >
< table >
< tr > < th colspan = "2" > MySQL Database Info< / th > < / tr >
< tr > < td style = "text-align: right;" > Hostname:< / td > < td > {{ @mysqlinfo_array.hostname }}< / td > < / tr >
< tr > < td style = "text-align: right;" > Database:< / td > < td > {{ @mysqlinfo_array.database }}< / td > < / tr >
< tr > < td style = "text-align: right;" > Username:< / td > < td > {{ @mysqlinfo_array.username }}< / td > < / tr >
< tr > < td style = "text-align: right;" > Password:< / td > < td > < span class = "hidden" > {{ @mysqlinfo_array.password }}< / span > < small > ← hover mouse here to reveal< / small > < / td > < / tr >
< tr > < td style = "text-align: right;" > phpMyAdmin:< / td > < td >
< check if = "isset(@cert_array)" >
< true >
< a href = "https://{{ @vhost_array.virtualhost }}/phpMyAdmin" > https://{{ @vhost_array.virtualhost }}/phpMyAdmin< / a >
< / true >
< false >
< a href = "https://{{ @HOST }}/phpMyAdmin" > https://{{ @HOST }}/phpMyAdmin< / a >
< / false >
< / check >
< / td > < / tr >
< tr > < td style = "text-align: right;" > < small > Notes:< / small > < / td > < td > < small > phpMyAdmin requires a two-stage login process.< br > First use the "Remote Access" info for the popup authentication.< br > Then use the MySQL info for the database login page.< / small > < / td > < / tr >
< / table >
2022-07-01 15:24:26 -07:00
< include href = "footer.html" / >