-
Login to GoDaddy cPanel
- Go to your hosting control panel
- Find "MySQL Databases" or "phpMyAdmin"
-
Create Database
- Create a new database (e.g.,
nx8020_db) - Create a database user with full privileges
- Note down: database name, username, password
- Create a new database (e.g.,
-
Run SQL Setup
- Open phpMyAdmin
- Select your database
- Go to "SQL" tab
- Copy and paste the contents of
database-setup.sql - Click "Go" to execute
-
Upload PHP Files
- Upload
api/folder to your website root - Upload
admin/folder to your website root - Make sure file permissions are set to 644
- Upload
-
Update Database Credentials
- Edit
api/waitlist.php - Edit
api/demo-interaction.php - Edit
admin/view-prospects.php - Edit
admin/export-prospects.php
Replace these values:
$username = "your_actual_db_username"; $password = "your_actual_db_password"; $dbname = "your_actual_db_name";
- Edit
-
Set Admin Password
- Edit
admin/view-prospects.php - Edit
admin/export-prospects.php - Change:
$admin_password = "your_secure_password_here";
- Edit
-
Test Form Submission
- Go to your website
- Fill out the waitlist form
- Check if you get success message
-
Check Database
- Go to phpMyAdmin
- Check if data appears in
nx8020_waitlisttable
-
Test Admin Panel
- Go to
yoursite.com/admin/view-prospects.php - Enter your admin password
- Verify you can see prospects
- Go to
-
Protect Admin Files
- Add
.htaccessfile in/admin/folder:
AuthType Basic AuthName "Admin Area" AuthUserFile /path/to/.htpasswd Require valid-user
- Add
-
SSL Certificate
- Enable SSL in GoDaddy cPanel
- Update all URLs to use HTTPS
-
Check Error Logs
- Monitor cPanel error logs
- Check for PHP errors
-
Database Backups
- Set up automatic backups in cPanel
- Export data regularly
- Admin Dashboard:
yoursite.com/admin/view-prospects.php - Export CSV: Click "Export to CSV" in admin dashboard
- Direct Database: Use phpMyAdmin in cPanel
- Form not working: Check database credentials
- Admin panel not loading: Check file permissions
- No data showing: Check error logs in cPanel
- CORS errors: Make sure API files have proper headers
public_html/
├── index.html
├── src/
│ ├── js/main.js
│ └── styles/main.css
├── api/
│ ├── waitlist.php
│ └── demo-interaction.php
└── admin/
├── view-prospects.php
└── export-prospects.php