Custom Domain

To park a domain under your primary domain using cPanel, follow these steps. Parking a domain means pointing an additional domain to your main domain so that both show the same website.

✅ Steps to Park a Domain in cPanel

  1. Log in to cPanel

    • Go to: https://yourdomain.com/cpanel (or through your hosting provider's portal)

    • Enter your credentials.

  2. Navigate to "Aliases" or "Domains"

    • Look for "Domains" or "Aliases" depending on your cPanel version.

      • Some cPanels use "Aliases" for parked domains.

      • Others just have a unified "Domains" section.

  3. Add the Parked Domain

    • Click on "Create a New Domain" (or "Add Domain").

    • Enter the domain name you want to park (e.g., example2.com).

    • Uncheck the option “Share document root with main domain” if it appears — but if you’re parking it, this option should be checked so it uses the same site files.

    • Click Submit or Add Domain.

  4. Update DNS of the Parked Domain

    • Go to the domain registrar (where you bought the parked domain).

    • Set the Nameservers to match your hosting provider’s DNS (e.g., ns1.yourhost.com, ns2.yourhost.com).

    • It may take a few hours (up to 24–48 hours) for DNS propagation.

  5. Test the Parked Domain

    • After DNS propagates, visiting example2.com should show the same site as your main domain.


🔁 Alternate Terminology

If cPanel shows...
It means...

Aliases

Parked domains

Addon Domains

Separate websites on same host

Domains

Unified panel for all domain types


🛠️ Optional: Redirect (if needed)

If you want the parked domain to redirect instead of display the same site:

  • Go to Redirects in cPanel.

  • Choose your parked domain.

  • Enter the URL to redirect to.

  • Choose Permanent (301) or Temporary (302).

  • Save.

You want to add a custom domain for your restaurant like qrexorder.com/phplime

Try to understand this.

For custom domains, First, you have to do the server configuration. like you have a domain name qrexorder.com in your server, you have another domain named phplime.com. so, you will not purchase another server/hosting for the new domain right? you will add the domain to your existing domain.

If you know how to add a new domain to your existing server? then add a new domain like this. Otherwise, contact your server provider to add a new domain to your server.

After adding the new domain to your server, if you hit the new domain then it will redirect to your main domain (qrexorder.com) then, I think it is working. After that send a request from the restaurant to admin from Qrexorder.

About subdomain: You can't use other domain subdomains like you installed this script in qrexorder.com then you can use anyname.qrexorder.com but you can't use anyname.phplime.com.

Still you are not understanding this, please google it or contact to your server provider.

It can vary as per server if you don't find then please contact your server provider

Last updated

Was this helpful?