How to Easily Upload Your Website With aaPanel?


Your website runs perfectly on localhost (only you can access your website), but now you want your friends, coworkers, and everybody to be able to see your achievement. Alternatively, you may have been dissatisfied with current hosting providers and now wish to try out 1Byte’s web hosting service.

(Here is a basic blog at my localhost. And now I want to put my website goes live)


1) Web Hosting or Cloud Server

→ In this tutorial, I will be using Cloud Hosting + aaPanel

(If you want to upload your website to Shared Hosting, please check this POST)

2) Domain name

→ A domain name is required for Web Hosting. If you don’t have a domain, purchase here.

3) Your website data

10 Steps to Easily Upload Your Website With aaPanel?

Step 1: Config your domain point to your Cloud Hosting

  • Go to User Dashboard
  • Select Domain at the left menu bar
  • Select the Manage button at the domain you want to point
  • At the Nameserver section, choose Basic DNS and Save changes
(Domain will be used for our basic blog, and it is pointing to Cloud Hosting)
  • Navigate to DNS Management section
  • Click ADD NEW RECORD  and choose A Record on the drop-down list
  • Put the value of the Host field and Value field as in the image below
(Please remember to input your IP Address of Cloud Server in the Value field)

Finally, click Save

Step 2: Login into your aaPanel of Cloud Hosting

  • Go to  User Dashboard
  • Navigate to the Cloud Hosting option on the left menu bar
  • Choose aaPanel to login inside its dashboard
(In this demo, I will use the Cloud Hosting that has IP to host Basic Blog)

Step 3: Install LNMP one-click installation package

Installing the LNMP one-click installation package will be recommended to you when you log in to aaPanel.

(The LNMP architecture is one of the most popular web stacks in the world and it is known as the golden combination of web applications under Linux. The stack includes CentOS Linux, NGINX, MySQL, and PHP)


In case you accidentally turned off this suggestion, you can still reinstall the following packages by doing follow steps

  • Go to App Store section
  • In the Search App, type the packages that you want to install
  • The packages LNMP includes NGINX, MySQL, PHP, phpMyAdmin
  • Select the version you want, then click Install to begin the installation process
(This is how to reinstall LNMP packages if you mistakenly turned off the system’s suggestion to install them)

Step 4: Creating a web root (directory to store all your website data)

  • Go to Website section
  • Click on Add site button
  • Add your domain name in the Domain name field (Note: It’s important to include your domain name with and without www)
  • Click Submit to finish
(These steps in the image above will create a web root in /www/wwwroot/
(As depicted in the image above, your site root information will be displayed)

Step 5: Uploading your website data into the web root

  • Go to the Files section
  • Be sure that you go inside your web root path
  • Remove all files inside your web root directory
(These are the files that come pre-installed with the web server and are unnecessary)
  • Click the Upload button to upload your website data
  • Specify the absolute path of your website data
  • Proceed to Upload