To make your domain name (such as example.com) open your website, you tell the internet's address book, called DNS, which IP address it belongs to. You do this where you manage your domain: usually the company you bought it from.
You need your server's IP address. For a VPS it is in your welcome email; for WordPress hosting it is shown in your client area. Below we use 203.0.113.10.
1. Open your domain's DNS settings
Log in where you bought the domain and look for DNS, DNS records, Zone editor or Manage DNS.
2. Point the main domain to your server
Add an A record, or edit the existing one:
| Type | Name (Host) | Value (Points to) | TTL |
|---|---|---|---|
| A | @ | 203.0.113.10 | Automatic or 1 hour |
| CNAME | www | example.com | Automatic or 1 hour |
@ means the domain itself. Some providers want it left empty, or want the full domain name instead. The second line makes www.example.com work too.
Delete any other A records for @ or www, such as a "parking page" from your provider, so they do not compete with yours. If your server has an IPv6 address, add an AAAA record for it the same way.
3. Wait, then check
Changes usually work within an hour, but can take up to 48 hours to reach everyone. To check, in PowerShell, Terminal or Command Prompt:
nslookup example.com
When the answer shows your server's IP address, it is done.
4. Secure it with HTTPS
With WordPress hosting, we add the security certificate (the padlock) automatically once your domain points to us. On a VPS you install it yourself, for example with the free Let's Encrypt service.
No domain yet?
With WordPress hosting you can start straight away on a free address like yoursite.narhosts.com, and add your own domain later.
NarHosts