Skip to main content
Support Hours: 24/7 (technical team 11 AM to 8 PM PKT)WhatsApp: +92 313 2946143
WordPress Optimization
9 min read
Published Nov 7, 2026

How to Install WordPress on a Namecheap Domain (cPanel + Softaculous)

Bought your domain on Namecheap and want a WordPress website? Point the domain to your cPanel hosting with nameservers or an A record, then install WordPress in one click with Softaculous. Step-by-step, with the mistakes to avoid.

Muhammad Anees Ur Rehman
Founder & Infrastructure Architect
Share Guide:
How to Install WordPress on a Namecheap Domain (cPanel + Softaculous)

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.
Key Takeaway: Domain at Namecheap + hosting with cPanel + WordPress installed through Softaculous = a working website. Most people finish in under an hour, plus DNS update time.

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.

  1. Log in to Namecheap and open Domain List.
  2. Click Manage next to your domain.
  3. In the Nameservers section, choose Custom DNS.
  4. Enter the nameservers from your hosting welcome email. For Alif Host shared and WordPress hosting these are ns1.alifhost.com and ns2.alifhost.com.
  5. 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.

  1. Keep the nameservers on Namecheap BasicDNS.
  2. Open the Advanced DNS tab.
  3. Add or edit an A Record with host @ and the server IP address from your welcome email.
  4. Add a CNAME Record with host www and value yourdomain.com. (or an A record for www with the same IP).
  5. Remove any old URL redirect or parking records for @ and www.
Key Takeaway: Changing nameservers usually starts working within a few hours but can take up to 24 to 48 hours everywhere. You can install WordPress while you wait.

Step 2: Install WordPress with Softaculous

  1. Log in to cPanel.
  2. Find Softaculous Apps Installer and click WordPress, then Install.
  3. Choose Protocol: select https:// (pick the www or non-www version you prefer).
  4. Choose Domain: select your Namecheap domain.
  5. In Directory: leave it empty so WordPress installs on the main domain, not in a /wp folder.
  6. Enter your Site Name and Site Description.
  7. Set an admin username (not "admin"), a strong password and your email.
  8. 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.

Key Takeaway: Leave the directory field empty. It is the most common reason people find their site at yourdomain.com/wp instead of yourdomain.com.

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.

ProblemUsual causeFix
Namecheap parking page still showsDNS has not updated yet, or the parking/redirect record is still thereWait a few hours; remove the parking or URL redirect record in Advanced DNS
Site opens at /wpA directory was entered in SoftaculousReinstall with an empty directory, or move the install
Email stopped workingNameservers were moved, so Namecheap email (MX) records no longer applyRecreate the MX records in cPanel Zone Editor, or use Option B instead
"Not secure" warningSSL not issued yetRun AutoSSL in cPanel after DNS points to the server
DNS_PROBE or "site can't be reached"Nameservers typed wrongCheck 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.

Frequently Asked Questions

Common Questions Answered

Can I use a Namecheap domain with another hosting company?

Yes. Change the nameservers in Namecheap to the ones your hosting company gives you, or point an A record to the hosting server IP. The domain stays registered at Namecheap.

How long does it take for a Namecheap domain to point to new hosting?

Usually a few hours, but DNS changes can take up to 24 to 48 hours to reach every network. You can install WordPress in cPanel while you wait.

What are Alif Host's nameservers?

For Alif Host shared and WordPress hosting, use ns1.alifhost.com and ns2.alifhost.com. Your welcome email also lists them along with the server IP address.

What is Softaculous?

Softaculous is a one-click app installer inside cPanel. It creates the database, uploads WordPress and sets up the admin account for you, so you do not need FTP or manual database setup.

Will changing nameservers affect my email?

Yes, if your email uses Namecheap DNS records. After moving nameservers, add the MX and other email records in cPanel, or keep Namecheap DNS and only add an A record for the website.

Muhammad Anees Ur Rehman
Written & Audited By

Muhammad Anees Ur Rehman

Founder & Infrastructure Architect • 3+ Years Experience

Muhammad Anees Ur Rehman is the Founder and Chief Infrastructure Architect at Alif Host. With 3+ years of hands-on work in Linux web hosting, LiteSpeed server optimization, and cloud virtualization, Anees builds and runs the hosting infrastructure behind Alif Host for Pakistani businesses, e-commerce stores, and digital agencies. A staunch advocate for transparent hosting policies and local payment integration (JazzCash, Easypaisa, Raast), he regularly publishes deep-dive technical benchmarks on server response times, WordPress performance, and cyber resiliency.

LiteSpeed Web Server TuningKVM Cloud VirtualizationcPanel & WebHost Manager (WHM)
View Full Author Profile & Articles
Featured Hosting & Infrastructure

Related Hosting & Infrastructure Solutions

Free DNS ManagementStarting at PKR 700/year

Domain Registration in Pakistan: .PK, .COM and More

Domain registration for .PK, .COM, .NET and .ORG with full DNS management, nameserver control and local PKR payment options.

Domain Registration in Pakistan: .PK, .COM and More
15-Day Free TrialStarting at PKR 300/month

Web Hosting in Pakistan with Local PKR Billing

High-speed NVMe SSD cPanel web hosting with LiteSpeed. Includes a 15-day free trial and payment via JazzCash, Easypaisa, Raast or bank transfer.

Web Hosting in Pakistan with Local PKR Billing

Related Educational Articles

Back to Blog