How to install Xenforo ? – Complete Guide

Sameer Memon
Sameer Memon
8 Min Read
- Advertisement -

Today we are going to learn how to install Xenforo, the process remains the same for Xenforo 2 installation.

Preassumptions

Before starting the installation process, I assume that you already have all the things ready that are required to make a xenforo forum. Below is the list you should get ready before beginning the installation.

  1. Domain Name
  2. Hosting Server
  3. Xenforo Software
  4. Style (Xenforo theme)

If not, you can check this list of all the required things to build a perfect xenforo forum.

In short, here’s the checklist

For domain, you can check this list of all domain registrars with the best offers.

- Advertisement -

The Hosting Server plays an important role in the performance of the forum. Choose your hosting wisely. For the test, we are using Bluehost shared hosting. They are cheap and perfect if you are just starting your journey.

Else you can check out this list of best hosting services for your site.

Xenforo Software: Download Xenforo from your Customer Area.

Style: You may have already decided on the style you want to use on your forum. If not yet, you can see this list of the best xenforo styles for Professional Looking Forums and decide what suits your need.

Let’s start with the Xenforo Installation process:

How to install Xenforo

Setup database

We will 1st start with creating a database and MySQL user to store the data of Forum.

- Advertisement -
1

Create New Database

Login to your Cpanel and go to the database section

Bluehost database setting
Bluehost database setting

Click on MySQL Database.

Now create New Database. (Note down all the database details from here. You gonna need this while installing the software.)

create new database in bluehost

Enter your preferred database name. Name it something that you can easily distinguish from other databases.

Now depending upon the hosting, you might have some prefix in the grey area (I also have a prefix, but hide it for tutorial purposes). Note down the complete database name along with the prefix.

Click on create Database.

- Advertisement -
2

Create a New MySQL user

Now scroll down you will see an option to create a MySQL user.

create mysql user

Note down the username(including the prefix set in the grey area) and password. Click on create user.

3

Connect User and Database

Now that you have created the database and MySQL user, it’s time to connect both.

Scroll in the same section you will find the option “Add User To Database”. Select the newly created user and database. Click add.

connect mysql user and database
connect MySQL user and database

On the next screen, you will see manage user privileges. Give all the permissions and click “make changes”.

manage user privileges

You are done with the database part here.

Upload Xenforo to hosting

Now it’s time to install Xenforo.

4

Upload Xenforo

Download the latest version of xenforo from the customer area.

You will get a Zip file of the Xenforo Software. Unzip it. There’s another zip file named upload.zip

download xenforo

You need to upload this upload.zip file on your hosting. Let’s see how

Login to your Hosting account and open Cpanel. (I am assuming that you have already assigned your domain and hosting. If not read how to assign your domain). Note:- If you want to install xenforo on your subdomain, you need to create a subdomain and assign it to your account.)

For the main domain, you have to upload this upload.zip file to the main domain folder (which can be found at public_html/yourdomain or directly under public_html), similarly for the subdomain you need to upload the files to the subdomain folder (public_html/yoursubdomain). For the tutorial purpose, we are using a subdomain of our website: https://xenforotutorials.geekysameer.com (this forum is just for tutorial purposes, not for general users)

From Cpanel go to File Manager.

Locate your subdomain folder under public_html

For instance, I will upload it under public_html/xenforotutorials since I want my forum on a subdomain.

installing xenforo on subdomain

Double click to open your folder. Now click on the upload option from the menu above.

subdomain folder

On the upload page, click the select file and locate the upload.zip that you extracted. Upload it.

upload xenforo on subdomain

Once the upload is completed, click the go back button below.

xenforo upload

Right-click on upload.zip and extract it, this will extract all the files under a folder named upload.

Now delete the upload.zip file since we don’t need it now.

See the below image for reference

properly installing xenforo
open this image in a new tab for a better view

Now that you can see, the contents are under the upload folder. We don’t want them to be inside public_html/xenforotutorials/upload instead it should be under public_html/xenforotutorials. So now we have to move the files from the upload folder to the main folder.

Double click to open the upload folder. Click “select all” from the file menu and click move from the main menu. Be sure to remove /upload from the moving folder. (check below image) the path should read public_html/xenforotutorial

moveall xenforo files

Done with all the hosting work, now it’s time to install the Xenforo forum.

5

Install Xenforo

Open a new tab in your browser and point the URL to your forum URL.

for e.g: https://xenforotutorials.geekysameer.com/install this will automatically begin the installation process. In case the installation doesn’t start, verify that all the above steps had been performed correctly.

installing xenforo

Click Begin Installation, and follow the onscreen instructions. Keep clicking next/continue until you reach the configuration builder page.

Here you need to enter the details of the database and MySQL user we created above. Keep the default value as they are.

xenforo complete installation guide

Click save config.

Wait for the process to complete.

Now you will be prompted to create an admin user. Give your details of admin id.

xenforo admin account
remember your password

Click create administrator.

On the Next screen, you need to provide your forum URL and contact email address.

xenforo url settings

Click setup the options.

Done.

Wait for the process to complete.

Once done you will be taken to the admin login page where you can log in to your admin panel of xenforo.

xenforo admin login

You can also manually go to the admin panel by adding /admin.php at the end of your forum URL. Check the above image URL.

Enter your Username and Password to enter the Admin Panel.

xenforo admin panel

With this, we have learned to install xenforo from scratch.

Moreover, you can find the official docs here: https://xenforo.com/docs/xf1/install-upgrade/

- Advertisement -
Follow:
Sameer Memon is a passionate writer with 3 years of experience in Blogging. With a strong background in Blogs, SEO, and Social Media Marketing, Sameer has been creating engaging content on various topics for a wide range of clients. As a dedicated and driven individual, Sameer takes pride in delivering well-researched and thoughtfully written articles that provide readers with valuable insights and information. He is constantly striving to stay up-to-date with the latest industry trends and techniques to produce content that is not only informative but also engaging and easy to read. When Sameer isn't busy writing, he enjoys gaming. He also loves to explore new places to gain fresh perspectives and inspiration for his writing. If you're interested in learning more about Sameer and his work, you can follow him on social media platform at give handles.