Hosting · Guide
How to Install WordPress on HostGator (Step by Step)

Short answer
Log in to the HostGator Customer Portal, open your hosting or websites area and choose to install WordPress. Pick your domain, enter an admin username, email and password, and confirm. When it finishes, log in at your domain followed by wp-admin and turn on SSL.
Key takeaways
- Make sure your domain points to HostGator before installing.
- The Customer Portal one-click installer is the quickest method.
- Softaculous in cPanel offers extra options like version and table prefix.
- A manual install needs a database, a user and an upload to public_html.
- Check that your site address uses https once the free SSL is active.
- Set permalinks, delete sample content and set up backups first.
What do you need before installing WordPress on HostGator?
You need an active HostGator hosting plan, a domain pointed to that plan, and your HostGator login; the WordPress software itself is free and the installer is included.
HostGator offers shared hosting and WordPress-focused plans. Every plan type that runs PHP and MySQL can run WordPress, and HostGator provides a one-click installer so you do not need to upload files by hand.
Check these before you start:
- Your hosting plan is active. New accounts can take a short time to finish setup.
- Your domain is connected. If you bought the domain with HostGator, this is usually automatic. If you bought it elsewhere, point it to HostGator's name servers or add the right DNS records. Our guide on how to point a domain to WordPress hosting explains both options.
- You know your login details. You will use the HostGator Customer Portal, and sometimes cPanel.
DNS changes can take a while to spread. If your domain was just connected, read how long DNS propagation takes so you know what to expect.
How do you install WordPress with HostGator's one-click installer?
Log in to the HostGator Customer Portal, open your hosting or websites area, choose to install WordPress, pick your domain, enter your admin details and confirm.
HostGator's portal design changes over time, so button names may differ slightly. The flow is generally:
- Log in to the HostGator Customer Portal.
- Go to the Hosting or Websites section.
- Choose the option to create a website or install WordPress.
- Select the domain where WordPress should live.
- Leave the directory blank to install at the root, such as example.com, rather than in a subfolder.
- Enter your site title, admin username, admin email and a strong password.
- Confirm and wait for the install to finish.
HostGator documents the current steps in its help article on installing WordPress with one click. Check it if a button has moved.
When the installer finishes, it shows your login link and sends details to your email. Save the admin username and password in a password manager.
Can you install WordPress through cPanel and Softaculous instead?
Yes, on plans that include cPanel you can use the Softaculous auto installer, which gives you a few more options such as choosing the WordPress version and table prefix.
Some people prefer cPanel because it shows more settings. HostGator explains its installers in its help article on the Softaculous auto script installer.
The steps look like this:
- From the Customer Portal, open cPanel for your hosting plan.
- Find Softaculous Apps Installer and click WordPress.
- Click Install.
- Choose the protocol. Pick https:// if your SSL certificate is active.
- Choose the domain and leave the directory empty for a root install.
- Fill in the site name, admin username, password and email.
- Pick a language and click Install.
Softaculous can also set up automatic updates and backups. Read each option before ticking it, since some backup settings store copies in the same account and use disk space.
If you are unsure how to find cPanel from your dashboard later, see our guide on how to get to cPanel in WordPress.
How do you install WordPress manually on HostGator?
Download WordPress from WordPress.org, upload it to public_html with File Manager or FTP, create a database and user in cPanel, then run the installer in your browser.
Manual installs are rarely needed, but they help when the one-click tool fails or you want full control.
- Download the latest zip from WordPress.org.
- In cPanel, open File Manager and go to public_html.
- Upload the zip and extract it. Move the files out of the wordpress folder into public_html.
- In cPanel, open MySQL Databases. Create a database, create a user and add the user to the database with all privileges.
- Visit your domain in a browser. The WordPress setup screen asks for the database name, user and password.
- Enter your site title and admin account, then click Install WordPress.
The official WordPress installation guide covers each step and common problems. If you prefer FTP to File Manager, our guide on getting FTP access to WordPress explains how to connect.
Which install method should you choose?
Use the Customer Portal installer for the quickest setup, Softaculous if you want extra options, and a manual install only when the others fail or you need a custom setup.
| Method | Time | Skill level | Best for |
|---|---|---|---|
| Customer Portal one-click | A few minutes | Beginner | Most new sites |
| Softaculous in cPanel | A few minutes | Beginner to intermediate | Choosing version, prefix, auto updates |
| Manual install | 15 to 30 minutes | Intermediate | Custom setups, troubleshooting |
All three give you the same WordPress software. The difference is only in how the files and database are created.
How do you log in to WordPress after installing?
Go to your domain followed by /wp-admin, enter the admin username and password you chose, and you will land on the WordPress dashboard.
You can also log in from the HostGator portal, which usually has a button to open the WordPress admin for your site. HostGator explains this in its guide to logging into WordPress with HostGator.
If you forget the login URL, our explainer on what the WordPress admin URL is lists the usual addresses.
Once inside, you may see a HostGator plugin or onboarding screens. These are optional helpers. You can follow them or close them and set up the site your way.
Should you turn on SSL right after installing?
Yes, make sure the free SSL certificate is active and your WordPress address uses https, so visitors see a secure padlock and browsers do not show warnings.
HostGator plans include a free SSL certificate for your domain. It may take a little time to activate after the domain is connected.
After it is active:
- Go to Settings > General in WordPress.
- Check that both WordPress Address and Site Address start with https.
- Save, then log in again if WordPress asks.
If you see mixed content warnings, some images or files still load over http. Our guide on installing an SSL certificate on WordPress covers fixing those.
What should you do first after installing WordPress?
Change the default settings, delete sample content, pick a theme, install only the plugins you need, and set up backups before you start publishing.
A short first-day checklist:
- Set your permalinks. Go to Settings > Permalinks and choose Post name. See how to set up permalinks in WordPress.
- Delete sample content. Remove the Hello world post and Sample Page.
- Set your time zone under Settings > General.
- Choose a theme under Appearance > Themes.
- Remove unused plugins and themes that came with the install.
- Set up backups with a plugin or your host's backup tool.
- Check the PHP version. HostGator lets you change it. Newer supported PHP versions are faster and safer.
Take your time with plugins. Each one adds code to maintain, so only add what you will use.
What if the WordPress install fails on HostGator?
Install failures usually come from a domain that is not yet pointed to HostGator, existing files in the target folder, or a temporary account issue, so check those before trying again.
Common problems and fixes:
- Domain not resolving. Wait for DNS to update, then retry.
- Folder not empty. Remove the default index page or old files from public_html, after backing them up.
- Install succeeds but site shows a HostGator placeholder. Clear your browser cache and check that no old index.html file is still in public_html.
- Error establishing a database connection. On manual installs, recheck the database name, user and password in wp-config.php.
If none of this helps, HostGator support can check the account from their side. Have your domain name and any error messages ready.
Frequently asked questions
Is WordPress free on HostGator?
Yes. WordPress itself is free open source software, and HostGator's installer is included with hosting plans. You pay for the hosting plan and domain. Some premium themes, plugins or extra services cost money, but you do not need them to get started.
How long does it take to install WordPress on HostGator?
The one-click installer usually finishes in a few minutes. If your domain was just connected, it may take longer before the site loads at your domain because DNS changes need time to spread across the internet.
Can I install WordPress in a subfolder on HostGator?
Yes. In the installer, type a folder name in the directory field, such as blog. WordPress then runs at your domain followed by that folder. Leave the field blank if you want WordPress to load at the main domain.
Should I pick the HostGator WordPress plan or shared hosting?
Both run WordPress. WordPress-focused plans may add features such as tuned caching or extra tools. Shared hosting is often cheaper and is fine for small sites. Compare current plan features on HostGator's site before choosing, since offers change.
What do I do if I forget my WordPress admin password?
Use the lost password link on the login page to get a reset email. If email does not arrive, you can reset the password through phpMyAdmin in cPanel, or ask HostGator support for help accessing your site.
Sources
- How to install WordPress with one click HostGator
- Softaculous auto script installer HostGator
- How to log into WordPress with HostGator HostGator
- How to install WordPress WordPress Developer Resources
- Download WordPress WordPress.org
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


