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).

  1. Go to Domains in EGPNL
  2. Click on your main domain
  3. Select Subdomains
  4. Click Add Subdomain
  5. Enter the subdomain prefix (e.g., blog)
  6. 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:

  1. Wait for DNS propagation (may take up to 24-48 hours)
  2. Go to SSL section
  3. 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:

  1. Go to Domains
  2. Click on the domain you want to remove
  3. Click Delete or Remove Domain
  4. Confirm the deletion
Warning: Deleting a domain will permanently remove all files, databases, and email accounts associated with it. Create a backup first!