Requirements

To enable you to run this system correctly, you must contain the following:

  • MySQL 5.6 or newer
  • PHP 7+
  • PHP Curl Extension
  • Enable allow_url_fopen

Install

After downloading the files, upload them to your website's home directory, then go to your website (Example https://mydomain.com). It will redirect you to the installation page and fillup all the form that needs to install the system.

Logging in

To log in, go to /admin path, for example, https://mydomain.com/admin

Default API Access

The Default DNS Config is your default API access to your domain to create DNS.

Adding default DNS config:

  • CLOUDFLARE - To see your API key in your Cloudflare account, go to https://dash.cloudflare.com/profile/api-tokens and click view Global API Key, then copy your API key also your email in your Cloudflare account and paste it to the designated textbox.
  • DIGITAL OCEAN - To create an API key in the digital ocean, go to this link https://cloud.digitalocean.com/account/api/tokens and click generate a new token and put what name you desire, then generate token.
  • CUSTOM DNS - The Custom DNS is designed for you if you have another DNS provider and type only the necessary data required by your DNS provider and leave empty other text boxes.

Adding Domain

When adding a domain, if you have a default DNS config, the default config will use, but you can change it if you have another config for that DNS provider.

  • CLOUDFLARE - To add the Cloudflare DNS domain, we need the zone id of the domain in your Cloudflare. To see the domain's zone id, click your domain and go to the overview, and you will see the zone id in the bottom right in the API section and copy the zone id, then paste it to the designated textbox.
  • DIGITAL OCEAN - To add the Digital Ocean DNS domain, we only need the domain and the API key to generate your API; go to this link https://cloud.digitalocean.com/account/api/tokens, or you may use your existing API key if you have it.
  • CUSTOM DNS - The Custom DNS is designed for you if you have another DNS provider and type only the necessary data required by your DNS provider and leave empty other text boxes.

Deleting Domain

By deleting the domain, the record that is added to the domain will also be deleted.

Add Custom DNS Provider

To add a custom DNS provider, you must be knowledgeable in using API. If you are knowledgeable in using API, you may proceed to go to this path /classes/domain.php and add your DNS provider's API code. in the function of CsAddRecord, CsDeleteRecord, and CsUpdateRecord. You may look at the example code in Cloudflare DNS function code in the above of the code.

If you have difficulty adding a custom DNS provider, you may email me at grefalrafael@gmail.com, or I will be the one who will code for you the Custom DNS provider.

Add Custom Pages

You can add several pages to your main website and link them to start adding custom pages; click the custom page in the admin section's navbar.

  • Add link to header - By turning on this option, your custom pages' link will be added to the navbar.
  • Add link to footer - By turning on this option, your custom pages' link will be added to the footer.
  • Page Position - This is your page priority by numbering their position in the navbar or the footer.
  • Page Title - The Title of your custom page.
  • Slug - This will be your custom page access path.
  • Content - The body of your custom page is where the content was.

Cron Job

To reset the daily limitation creating in DNS and deleting the expired DNS, we need to create a cron job; before making cron job first, you need to modify the script's file go to this path /actions/runscript the open deleteDns.php and resetLimitDns.php. You will see variable name accessCode edit its data; this will be your access to the file for creating cronjob. After editing the data in variable accessCode, you may now proceed to make the cronjob.

Add this code to the cronjob:
0 0 * * * wget -O /dev/null https://YOURDOMAINPUTHERE/actions/runscript/deleteDns?access=youraccesscode > /dev/null 2>&1

0 0 * * * wget -O /dev/null https://YOURDOMAINPUTHERE/actions/runscript/resetLimitDns?access=youraccesscode > /dev/null 2>&1

Change "youraccesscode" with the data that you put in the variable of accessCode.