fossbilling-epp-isnic/README.md

42 lines
1.9 KiB
Markdown
Raw Normal View History

# ISNIC EPP Module for FOSSBilling
2023-02-16 14:18:43 +00:00
This is a fork of the [fossbilling-epp-rfc](https://github.com/getpinga/fossbilling-epp-rfc) module that has been modified to work with ISNIC's EPP server.
2023-02-16 14:18:43 +00:00
The following instructions are from the original README.md file.
2023-02-16 15:39:30 +00:00
2023-01-10 20:04:32 +00:00
# FOSSBilling Module Installation instructions
2023-07-13 12:37:29 +00:00
## 1. Download and Install FOSSBilling:
2023-01-10 20:04:32 +00:00
2023-07-13 12:37:29 +00:00
Start by downloading the latest version of FOSSBilling from the official website (https://fossbilling.org/). Follow the provided instructions to install it.
2023-01-10 20:04:32 +00:00
2023-07-13 12:37:29 +00:00
## 2. Installation and Configuration of Registrar Adapter:
2023-01-10 20:04:32 +00:00
First, download this repository which contains the epp.php file. After successfully downloading the repository, move the ISNIC.php file into the `[FOSSBilling]/library/Registrar/Adapter` directory.
2023-07-13 12:37:29 +00:00
## 3. Addition of Synchronization Scripts:
There are two additional scripts in the repository: **ISNICSync.php** and **eppClient.php**. These need to be placed in the main `[FOSSBilling]` directory.
2023-07-13 12:40:06 +00:00
2023-07-13 12:37:29 +00:00
## 4. Setting Up the Cron Job:
You need to set up a cron job that runs the sync module twice a day. Open crontab using the command `crontab -e` in your terminal.
Add the following cron job (make sure to replace `/var/www/html/ISNICSync.php` with the correct path to the ISNICSync.php file):
2023-07-13 12:37:29 +00:00
`0 0,12 * * * php /var/www/html/ISNICSync.php`
2023-07-13 12:37:29 +00:00
This command schedules the synchronization script to run once every 12 hours (at midnight and noon).
## 5. Activate the Domain Registrar Module:
Within FOSSBilling, go to **System -> Domain Registration -> New Domain Registrar** and activate the new domain registrar.
## 6. Registrar Configuration:
Next, head to the "**Registrars**" tab. Here, you'll need to enter your specific configuration details, including the path to your SSL certificate and key.
## 7. Adding a New TLD:
Finally, add the .is Top Level Domain (TLD) using at the "**New Top Level Domain**" tab. Make sure to configure all necessary details, such as pricing, within this tab.