Jump to content

Featured Replies

Posted
comment_68

In this tutorial I’ll show you how to add website and install WordPress in website added, it is simple task just follow the steps below to get it added and run WordPress in few minutes. WordPress is most popular CMS and here is the tutorial upon how you can install it in aapanel easily and quickly.

Step 1 :

Go to aapanel admin and select Website from left menu:

2021-10-24_14-15.thumb.png.13a5be57567819660ae1de8ba05f9908.png

Step 2 :

Click on green button Add site :

2021-10-24_14-16.thumb.png.0bc565ed8fdc597bf943fdbfd6b54651.png

Step 3 :

fill the form like below in my example I’m using test.mysterydata.com as site url choose FTP create and For Database select MySQL, if you want to have ssl installed click on Apply for SSL (ensure you’ve A record added and pointing to the aapanel server ip else ssl will fail to install), select preferred php version and click on submit:

2021-10-24_14-21.png.36f4ed9c763542380327325db3e55914.png

You’ll be prompted with Successfully created site, save the ftp and mysql login details

2021-10-24_14-22.png.1f5e1d53539a8d6fb4d00aa6308e7987.png
After you click on submit you’ll see the site is added in the website site manager module :

2021-10-24_14-23-1024x476.thumb.png.d12080b076dc2e457091bf90c1aa94c9.png

Step 4 :

Installing WordPress in website :

you can upload the website file from FTP manager according to your preference but here I’ll show you how to install WordPress quickly via aaPanel terminal :

First copy the Document root of your website :

2021-10-24_15-01.png.cadcbc1cb05bd968cb4b95b5a4b6a5d2.png

Login as root via the terminal (use user root and root password for login):

2021-10-24_15-03.png.9570a24523ca8b991c87399953aa27d4.png

Now run this commands one by one :

***here my document root is /www/wwwroot/test.mysterydata.com replace with yours one

cd /www/wwwroot/test.mysterydata.com
rm -rf index.html
wget https://wordpress.org/latest.zip
unzip latest.zip
rsync -av wordpress/ . && rm -rf wordpress latest.zip
chown -R www:www *


That’s it open your website URL and follow the onscreen instructions the DB details are already created when you addedd the website above see Step 3 or you can create the new db details from aapanel admin >> Database menu

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Posts