The Domain Checker is a Laravel-based application designed to check the availability and pricing of domain names. It integrates with a WHOIS API for real-time domain status checks and displays domain suggestions.
- PHP >= 8.2
- Composer
- Node.js & npm
- MySQL or compatible database
git clone https://github.com/Alvalens/domain-checker-inertia.git
Run the following command to install all PHP dependencies:
composer install
If you encounter any dependency issues, run:
composer update
-
Copy the
.env.example
file to.env
:cp .env.example .env
-
Update the
.env
file with your database credentials and other configuration values:DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=domain_checker DB_USERNAME=your_username DB_PASSWORD=your_password
-
Setup Whois
WHOIS_URL= WHOIS_KEY=
php artisan key:generate
Set up the database schema by running:
php artisan migrate
Launch the local development server:
php artisan serve
npm install
For development:
npm run dev
For production (optional):
npm run build
- Access the application in your browser at
http://localhost:8000
. - Enter a keyword or domain name to check availability and pricing.
-
Ensure your
.env
file is properly configured for the database and API settings. -
Clear application cache if you face unexpected issues:
php artisan cache:clear php artisan config:clear