Skip to content

Preparing Your Domain for CorePanel

This guide takes you from nothing to a working panel you can open in your browser at an address like https://panel.example.com. No prior experience with domains, DNS, or name servers is assumed — every term is explained in plain language as it comes up.

By the end you will have:

  1. Registered a domain name.
  2. Created two name servers for it.
  3. Delegated the domain to your CorePanel server.
  4. Created the panel domain.
  5. Confirmed the panel loads over a secure connection.

Before the steps, here is what actually happens when someone opens your panel. It helps to have this picture in mind — the steps below are just filling in the pieces of it.

How a browser reaches your server: it asks the domain's name servers where example.com lives, the name servers reply with the server's IP address, and the browser then opens the panel over HTTPS.

  • A domain (like example.com) is a friendly name. Computers don’t use names — they use numeric IP addresses like 203.0.113.45. Your server has one of these.
  • Name servers are the internet’s phone book. When a browser wants example.com, it asks that domain’s name servers, “what’s the address?” and they answer with your server’s IP.
  • Delegation is simply telling the world which phone book to use for your domain. When you delegate the domain to CorePanel, your own server becomes the phone book — it answers every DNS question about the domain itself.

That’s the whole idea. Now let’s build it.

A domain is rented, not bought outright — you register it for a year (or more) through a registrar. Popular ones include Namecheap, Porkbun, Cloudflare Registrar, GoDaddy, and many hosting companies. Any of them works; the screens below are a generic example, but every registrar has the same ideas under slightly different names.

Search for the name you want. If it’s available, add it to your cart and check out.

A registrar's search screen showing example.com as available to register, with a price and a Register button.

You’ll also want your server’s public IP address handy for the next step. If you’ve already run the CorePanel setup wizard, it printed the IP; otherwise your server provider shows it in their dashboard. In this guide we’ll use 203.0.113.45 as the example.

To make CorePanel the phone book for your domain, you first give your two name servers a name and an address. By convention they’re called ns1 and ns2 on your own domain — so ns1.example.com and ns2.example.com.

The address is the crucial part: each name server points at your server’s own public IP address — the CorePanel machine. That’s what makes your server the one that answers DNS for the domain. Both name servers point at that same server IP.

In your registrar’s control panel, find the section for registering name servers. Registrars label this differently — look for Register nameservers, Personal nameservers, Private nameservers, Host records, or Glue records — they all mean the same thing.

A registrar's Register Nameservers screen: ns1.example.com and ns2.example.com are each pointed at the server's own public IP.

Enter both, and point each one at your CorePanel server’s public IP:

Name serverPoints to
ns1.example.comyour server’s public IP
ns2.example.comyour server’s public IP

Save. You’ve now created the name servers, but the domain isn’t using them yet — that’s the next step.

Step 3 — Delegate the domain to CorePanel

Section titled “Step 3 — Delegate the domain to CorePanel”

Now tell the domain to actually use those name servers. In your registrar, open the domain’s Nameservers setting, switch from the registrar’s defaults to Custom nameservers, and enter the two names you just created.

A registrar's Nameservers screen with Custom nameservers selected and set to ns1.example.com and ns2.example.com.

Save. This is the delegation: from now on, the world asks your server for anything about example.com.

The panel domain is the address you’ll type to open CorePanel — for example panel.example.com. You set it on the server with the one-time setup wizard:

Terminal window
corepanel system init

When it asks for the panel domain, enter panel.example.com. CorePanel takes care of the DNS for you: because your server is now the phone book for example.com, it automatically publishes the record that points panel.example.com at itself, and it answers as ns1/ns2 for the domain. There are no DNS records to add by hand.

The wizard is covered in full — including how it handles SSL and what each prompt means — in Initial Server Setup.

Step 5 — First sign-in and the setup assistant

Section titled “Step 5 — First sign-in and the setup assistant”

Once propagation finishes, open your panel domain in a browser (or reach it by IP right away — see the tip in Step 4):

https://panel.example.com

Sign in with the user coreadmin and the password from the setup wizard.

The first time you sign in, CorePanel greets you with the Initial configuration assistant — a short, four-step wizard that confirms who runs the server and, most importantly, the name servers it will publish for every domain it hosts.

CorePanel's Initial configuration assistant on Step 3 of 4, Name servers: two cards with Hostname fields ns1.example.com and ns2.example.com, each pointing at the server's public IP.

Walk through the four steps:

  1. Company — your name and email, used for notifications and alerts.
  2. Server basics — the server’s host name and its main public IP address.
  3. Name servers — the key step. Enter the two name servers you created in Step 2ns1.example.com and ns2.example.com — each pointing at your server’s public IP. CorePanel pre-fills sensible defaults from the previous step; just confirm they’re right.
  4. Review — check everything and click Finish.

When you finish, the assistant closes and drops you on the dashboard. You should see a padlock in the address bar — the connection is secure and the certificate is trusted.

A browser open at https://panel.example.com/dashboard with a padlock, showing the CorePanel dashboard live with healthy services.

If you’d like to confirm the plumbing from the command line, two quick checks tell you everything:

Terminal window
# 1. Is the domain delegated to your name servers?
dig NS example.com +short
# Expected: ns1.example.com. and ns2.example.com.
# 2. Does the panel domain point at your server?
dig panel.example.com +short
# Expected: your server's public IP, e.g. 203.0.113.45

If both look right and the browser shows the padlock, you’re done — the domain is fully prepared and CorePanel is serving it.

Don’t need CorePanel to manage the whole domain — just want to reach the panel? Skip Steps 2 and 3. Leave the domain on your registrar’s default name servers and add a single record in their DNS settings:

TypeName / HostValue
Apanelyour server’s public IP

That creates panel.example.com → your server. Then do Step 4 (run corepanel system init with panel.example.com) and Step 5 to test. This is the fastest path when the panel is all you need; you can always delegate the full domain later.

  • The browser can’t find the site. DNS probably hasn’t propagated yet. Wait a bit longer and re-run the dig checks above. Propagation can take a few hours.
  • dig NS example.com returns the registrar’s name servers, not yours. The delegation in Step 3 hasn’t taken effect yet (still propagating), or wasn’t saved. Re-open the registrar’s Nameservers screen and confirm the custom name servers are set.
  • dig panel.example.com returns nothing. Make sure you ran corepanel system init with the correct panel domain, and that the domain is delegated to your server (the previous check).
  • The padlock is missing / certificate warning on the panel domain. CorePanel issues the trusted certificate automatically once the domain resolves publicly and ports 80 and 443 are open. Give it a minute after DNS resolves, and confirm those ports are reachable. Details in Initial Server Setup → How SSL works.