In this guide
- why an alias frees up a website, and which domains to change;
- save its email and DNS records before you start;
- remove it as a website and add it back as an alias;
- redirect it to your main address (or with .htaccess);
- keep its email working, test it, and fix it if it doesn’t work.
You’ll do all of it in cPanel. Each domain takes about five minutes. The copy is offline for a minute or two between removing it and adding it back, so pick a quiet time.
Why this frees up space
cPanel counts two kinds of extra domain separately:
| Kind | What it does | Counts towards your websites? |
|---|---|---|
| Addon domain (a new website) | Its own folder and its own pages | Yes: one each |
| Alias (once called a parked domain) | Shows your main website, or redirects somewhere | No: aliases have their own, separate allowance |
If mybusiness.co.uk was added as a website but only ever showed the same pages as mybusiness.com (or was set to forward to it), it’s using a website slot for nothing. Change it to an alias with a redirect and the slot is free for a real second website.
Check which domains to change
In cPanel’s Statistics panel, Addon Domains shows how many websites you’re using and how many your package allows. When the two numbers match, you can’t add another.
Open cPanel Domains Domains. Domains with their own document root (a folder named after them) are websites. Visit each in your browser. Any that show the same site as another domain, forward to it, or show nothing useful are the ones to change.
Save what you need first
Removing a domain from cPanel removes its email accounts and its DNS records. Adding it back as an alias gives it fresh, standard records, so anything custom has to be put back by hand.
Email. In cPanel Email Email Accounts, note every address on the domain. Export anything worth keeping (see back up a mailbox), and check cPanel Email Forwarders for forwarders too.
DNS records. In cPanel Domains Zone Editor, select Manage next to the domain. Note anything you or a service added: verification TXT records, MX records for Microsoft 365 or Google, DMARC, or anything pointing at another server.
Files. The domain’s folder isn’t deleted, but download a copy if there’s anything in it you might want.
Remove it as a website
In cPanel Domains Domains, select Manage next to the copy.
Scroll to Remove the Domain, select Remove Domain and confirm. Older versions of cPanel do this in Addon Domains instead. The domain registration isn’t affected.
Add it back as an alias
Still in cPanel Domains Domains, select Create A New Domain.
Type the domain without
www., and leave Share document root ticked. That’s what makes it an alias rather than a website. Select Submit.Check Statistics: Addon Domains has gone down by one and Aliases up by one.
Redirect it to your main address
Open cPanel Domains Redirects and fill it in:
- Type: Permanent (301).
- Domain: the alias you just added.
- Redirects to: your main address in full, exactly as your site uses it, such as
https://www.mybusiness.com/. Going straight to the final address saves an extra hop. - www. redirection: Redirect with or without www.
- Wild Card Redirect: ticked, so
mybusiness.co.uk/contactgoes tomybusiness.com/contact, not just the home page.
Select Add. It appears in the list at the bottom. Repeat for each copy.
Prefer to edit .htaccess?
For several domains, or if you already look after your own .htaccess, one block does the lot. Put it near the top of the .htaccess file in public_html (the main domain’s folder, which every alias shares), above any # BEGIN WordPress section. Use File Manager with Show Hidden Files switched on.
# Send the extra domains to the main website (permanent 301)
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/\.well-known/
RewriteCond %{HTTP_HOST} ^(www\.)?mybusiness\.co\.uk$ [NC,OR]
RewriteCond %{HTTP_HOST} ^(www\.)?mybusiness\.net$ [NC]
RewriteRule ^(.*)$ https://www.mybusiness.com/$1 [R=301,L]- Add one
RewriteCond %{HTTP_HOST}line per domain. Every line except the last ends with[NC,OR]. - Write dots in domain names as
\.. - The
.well-knownline lets AutoSSL keep renewing the alias’s free certificate, sohttps://mybusiness.co.ukredirects without a security warning.
Keep its email working
A redirect only affects the website. Email on the alias works as before, once you put the addresses back. Choose one:
Send it all to the main domain (simplest). In cPanel Email Forwarders, select Add Domain Forwarder, choose the alias and enter your main domain. Mail to
info@mybusiness.co.ukthen arrives atinfo@mybusiness.com, as long as that address exists. It doesn’t use any email accounts.Or keep separate mailboxes. Recreate them in cPanel Email Email Accounts, choosing the alias in the Domain list, then import the mail you exported. These count towards your email limit.
Open cPanel Email Email Deliverability and Repair the alias if it shows problems. Then put back any custom records you saved in cPanel Domains Zone Editor.
Test it
In a private browser window, try all four ways in. Each should land on your main address, in one step, with the padlock showing:
http://mybusiness.co.ukhttp://www.mybusiness.co.ukhttps://mybusiness.co.ukhttps://www.mybusiness.co.uk/any-page(should arrive at the same page on the main site)
Then send a test email to an address on the alias from another account, such as a personal Gmail.
Troubleshooting
| Problem | Check this |
|---|---|
| cPanel says the domain already exists | It hasn’t finished removing, or it’s still there as a subdomain. Refresh Domains and remove anything left over, then try again. |
| The alias shows your main site instead of redirecting | The redirect isn’t in place yet. Add it in Redirects, or check your .htaccess block is above the WordPress section. |
| “Too many redirects” | The redirect points at the alias itself, or at an address that redirects back. Make sure Redirects to is the main domain, exactly as the site uses it (with or without www.). |
| “Not secure” on https://mybusiness.co.uk | The alias’s certificate hasn’t been issued yet. In SSL/TLS Status, select Run AutoSSL. Using .htaccess? Check the .well-known line is there. |
| Only the home page redirects | Wild Card Redirect wasn’t ticked. Delete the redirect and add it again with it ticked. |
| “500 Internal Server Error” on every page | A typo in .htaccess. Put back the copy you downloaded, then check the block line by line. |
| Email to the alias bounces | The addresses or domain forwarder haven’t been set up yet, or a custom MX record wasn’t put back. See keep its email working. |
Another way: take it off your hosting altogether
You can also remove the domain from cPanel completely and let something else do the redirect. Then it uses neither a website nor an alias.
- Your registrar’s domain forwarding: quick to set up, but many registrars can’t forward
https://addresses, so some visitors see a security warning instead of your site. It also needs separate email handling. - Cloudflare (free): a redirect rule handles
https://properly. Worth it if the domain is already on Cloudflare. See Set up Cloudflare.
For most people the alias and redirect in cPanel is simplest: the certificate, the redirect and the email all stay in one place.
Questions about redirecting extra domains
Does an alias count towards my package’s website limit?
No. cPanel counts aliases (once called parked domains) separately from addon domains, which are the separate websites your package allows. On OnPoint’s packages aliases aren’t limited, so turning a copy into an alias frees up one of your websites.
Will redirecting the .co.uk to the .com hurt my Google ranking?
No, it usually helps. Two addresses showing the same pages split Google’s attention between them. A permanent (301) redirect tells Google the .com is the real address, so links and history from the .co.uk count towards it. Keep the redirect in place for good.
Can I still have email addresses on the redirected domain?
Yes. A redirect only affects the website. You can create mailboxes on an alias, or use a domain forwarder so anything sent to the .co.uk arrives at the same name on the .com.
Do I need to keep renewing the .co.uk?
Yes, if you want the redirect to keep working and to stop someone else buying the name. The redirect only works while you own the domain and it points at your hosting.
Will visitors see a security warning on https://example.co.uk?
Not if the alias has a certificate. AutoSSL issues one for aliases too, usually within a few hours. Keep the .well-known exclusion in the redirect so it can keep renewing.
What if the .co.uk is my main domain?
Your main domain doesn’t use an addon slot, so there’s nothing to free up by moving it. If you want the .com to be the address people see, ask OnPoint to change the main domain, or redirect the other way.
Still need more websites after tidying up? Upgrade your package: Plus holds up to 5 websites and Ultimate up to 10 websites. Or open a ticket with OnPoint with the domains you want changed, and UK-based support can do it for you.