Adding a New Domain
Follow these steps to add a new domain to your EGPHP hosting account.
1
Log in to EGPNL
Access your control panel using your credentials.
2
Navigate to Domains
Click on Domains in the left sidebar menu.
3
Click Add Domain
Click the Add Domain or + New Domain button.
4
Enter Domain Name
Type your domain name without www or http:// (e.g., example.com).
5
Configure Options
Select PHP version and any additional options if prompted.
6
Create Domain
Click Create or Add Domain to finish.
Don't forget DNS: After adding the domain, you still need to point your domain's DNS to EGPHP servers.
Adding a Subdomain
Subdomains are extensions of your main domain (e.g., blog.example.com).
- Go to Domains in EGPNL
- Click on your main domain
- Select Subdomains
- Click Add Subdomain
- Enter the subdomain prefix (e.g.,
blog) - Click Create
Subdomain Location: Each subdomain has its own folder in your file structure, typically at
/domains/example.com/subdomains/blog/public_html.
Domain File Structure
When you add a domain, EGPNL creates this directory structure:
/domains/example.com/ ├── public_html/ ← Website files go here ├── logs/ ← Access and error logs ├── ssl/ ← SSL certificates └── subdomains/ ← Subdomain folders
Domain Settings
After adding a domain, you can configure:
- PHP Version: Select PHP 7.4, 8.0, 8.1, 8.2, or 8.3
- Document Root: Change the web root folder if needed
- SSL: Install free Let's Encrypt certificate
- Redirects: Set up URL redirects
- DNS Zone: Manage DNS records
What to Do After Adding a Domain
1. Point DNS
Configure your domain's nameservers or add A records at your registrar:
- Use EGPHP nameservers, OR
- Add an A record pointing to your server IP
2. Install SSL
Secure your domain with a free SSL certificate:
- Wait for DNS propagation (may take up to 24-48 hours)
- Go to SSL section
- Click Issue Certificate
3. Upload Your Website
Upload files to the public_html folder using:
- File Manager in EGPNL
- FTP or SFTP client
Important: SSL installation will fail if DNS is not properly configured. Ensure your domain resolves to your server before requesting an SSL certificate.
Removing a Domain
To delete a domain:
- Go to Domains
- Click on the domain you want to remove
- Click Delete or Remove Domain
- Confirm the deletion
Warning: Deleting a domain will permanently remove all files, databases, and email accounts associated with it. Create a backup first!
Was this article helpful?