The Short Answer
A Namecheap domain is only the address of your website. To run WordPress you also need hosting, where the WordPress files and database live. The process has three parts:
- Connect the domain to your hosting: in Namecheap, change the nameservers to the ones your hosting company gives you (or point an A record to the server IP).
- Install WordPress: open cPanel, go to Softaculous Apps Installer, choose WordPress and click Install.
- Turn on SSL: make sure the free SSL certificate is issued so your site opens with https.
What You Need Before You Start
Namecheap also sells its own hosting, but you do not have to host where you bought the domain. A domain from one company and hosting from another is normal and works the same way.
- A domain registered at Namecheap and access to your Namecheap account.
- A hosting plan with cPanel. If you host with Alif Host, the welcome email has your cPanel login, the nameservers and the server IP address.
- An email address for the WordPress admin account.
Step 1: Point Your Namecheap Domain to Your Hosting
There are two ways to connect the domain. Use one of them, not both.
Option A: Change the nameservers (recommended)
This hands DNS for the domain to your hosting company, so the website, email and SSL are all managed from cPanel.
- Log in to Namecheap and open Domain List.
- Click Manage next to your domain.
- In the Nameservers section, choose Custom DNS.
- Enter the nameservers from your hosting welcome email. For Alif Host shared and WordPress hosting these are
ns1.alifhost.comandns2.alifhost.com. - Click the green tick to save.
Option B: Keep Namecheap DNS and add an A record
Use this if you want to keep managing DNS at Namecheap, for example because you already use Namecheap email.
- Keep the nameservers on Namecheap BasicDNS.
- Open the Advanced DNS tab.
- Add or edit an A Record with host
@and the server IP address from your welcome email. - Add a CNAME Record with host
wwwand valueyourdomain.com.(or an A record forwwwwith the same IP). - Remove any old URL redirect or parking records for
@andwww.
Step 2: Install WordPress with Softaculous
- Log in to cPanel.
- Find Softaculous Apps Installer and click WordPress, then Install.
- Choose Protocol: select
https://(pick thewwwor non-www version you prefer). - Choose Domain: select your Namecheap domain.
- In Directory: leave it empty so WordPress installs on the main domain, not in a
/wpfolder. - Enter your Site Name and Site Description.
- Set an admin username (not "admin"), a strong password and your email.
- Click Install and wait about a minute.
When it finishes, Softaculous shows two links: your website and the admin dashboard at yourdomain.com/wp-admin.
Step 3: Make Sure SSL (https) Is Working
cPanel hosting usually issues a free SSL certificate automatically once the domain points to the server. If your site still shows "Not secure" a few hours after DNS has updated, open SSL/TLS Status in cPanel and run AutoSSL, or follow our free SSL guide.
Then, in WordPress, go to Settings > General and check that both the WordPress Address and Site Address start with https://.
Common Mistakes (and Fixes)
Most problems come from DNS or the install folder. Check those two first.
| Problem | Usual cause | Fix |
|---|---|---|
| Namecheap parking page still shows | DNS has not updated yet, or the parking/redirect record is still there | Wait a few hours; remove the parking or URL redirect record in Advanced DNS |
| Site opens at /wp | A directory was entered in Softaculous | Reinstall with an empty directory, or move the install |
| Email stopped working | Nameservers were moved, so Namecheap email (MX) records no longer apply | Recreate the MX records in cPanel Zone Editor, or use Option B instead |
| "Not secure" warning | SSL not issued yet | Run AutoSSL in cPanel after DNS points to the server |
| DNS_PROBE or "site can't be reached" | Nameservers typed wrong | Check the spelling in Namecheap Custom DNS |
Should You Move the Domain to Your Host?
You do not have to. Keeping the domain at Namecheap and the hosting elsewhere is fine. Some people move the domain later so renewals and billing are in one place. If you are in Pakistan and want to pay in PKR with JazzCash, Easypaisa or bank transfer, you can register or transfer a domain with Alif Host; see domain prices.


