# WHOIS Lookup Utility untuk TLD, gTLD, ccTLD dan mTLD

<figure><img src="https://nos.wjv-1.neo.id/cdn.medusa.my.id/Whois.png" alt=""><figcaption></figcaption></figure>

## Introduction

Berikut ini adalah tulisan mengenai bagaimana cara untuk melakukan query data whois domain dalam kategori TLD yang dikelola oleh Internet Assigned Numbers Authority (IANA) seperti TLD, gTLD, ccTLD dan mTLD dengan memanfaatkan bantuan aplikasi berbasis web, yang mana aplikasi ini dibuat dengan menggunakan bahasa pemrograman [**PHP (Hypertext Preprocessor)**](https://www.php.net).

Dengan adanya aplikasi ini diharapkan dapat memudahkan proses pencarian nama domain yang ingin dicari.

## Requirements

* [**Git**](https://git-scm.com/downloads).
* [**Nginx**](http://nginx.org/en/download.html).
* [**PHP-FPM**](https://php-fpm.org/download).
* [**PHP**](https://www.php.net/downloads.php).

## Installation

### Install Paket Software Git, Nginx, PHP-FPM & PHP

Pertama, kita perlu meng-install Git, Nginx, PHP-FPM dan PHP di server yang kita miliki dan berikut perintah yang perlu dijalankan:

{% code overflow="wrap" lineNumbers="true" %}

```bash
yum update -y
yum install git nginx php php-fpm -y
adduser whois
passwd whois
cd /home
git clone https://github.com/madfxr/whois.git
find . -type d -print0 | xargs -0 chmod 0755
find . -type f -print0 | xargs -0 chmod 0644
```

{% endcode %}

### Konfigurasi Nginx & PHP-FPM

Langkah selanjutnya, kita harus mengkonfigurasi Nginx beserta PHP-FPM di server yang kita miliki dan untuk langkah-langkahnya dapat dicari di internet secara mandiri.

> **Catatan:**
>
> * Aplikasi ini hanya dapat digunakan saat Web Server sudah running.
> * Pastikan untuk Web Server juga sudah dikonfigurasi.

Demikian sedikit pengetahuan dan pengalaman yang dapat saya bagikan, semoga apa yang telah saya sampaikan dapat bermanfaat bagi kita semua.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://blog.madfxr.my.id/documentation/categories/cloud-computing/whois-lookup-utility-untuk-tld-gtld-cctld-dan-mtld.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
