Aapanel is one of the best easy to use and free web hosting control panel nowdays. These tutorial we will guide How to install aapanel on ubuntu or centos. Aapanel offers by Chinese developers of BT.CN.
Aapanel is very user friendly and it offers GUI for most of the essential linux servers. Aapanel is open source web hosting panel. It offers many great features for free like editor, uploader, file manager, backups, multi php, php ini editor, database management, multiple websites, free ssl and so on. It have a great feature like NGINX preconfigured firewall.
Following these tutorial you can install aapanel on ubuntu 16.04, 18.04, 20.04 and debin. Also we added commands for centos installation. Let's see what's prerequisites you need:
· Minimum disk space 20GB
· Fresh Installed Ubuntu or Centos Server
· Minimum Ram 1GB
· Minimum 1vcpu
· Ssh access of the server
Let's start the installation. At first login to the ssh using putty or any other ssh client. Installing is pretty much easy. First, you have to switch to root if you are not root user currently.
# sudo su -
Now you have to update OS
# apt-get update; apt-get upgrade -y;
Download and install the aaPanel installation script on your ununtu or debin.
For Centos run these commands
Here is the list of answers installation script going to ask you:
> Do you want to install aaPanel to the /www directory now? (y/n): y
> Do you need to enable the panel SSl ? (yes/n): n
After the installation completes, a random administrator username and password will be displayed in your console. You have to note them.
Firewall reloaded
===================================
Congratulations! Installed successfully!
===================================
aaPanel Internet Address: http://example.com:7800/5b52b2f3
aaPanel Internal Address: http://example.com:7800/5b52b2f3
username: ***************
password: ***************
Warning:
If you cannot access the panel,
release the following port (7800|888|80|443|20|21) in the security group
===================================
Time consumed: 3 Minute!
Now open your browser and browse the url of aapanel internet address. It should look like
http://example.com:7800/5b52b2f3
Now enter you username and password and hit login. You should now able to enter the control panel. Then you will be asked to install Lnmp or Lamp. LNMP is always recommanded. Also make sure to hit on complied if you want to use the server for production websites.
It should take time to be fully installed. Then you are done, Now you can enjoy your fastest
control panel to host your websites. You can see how can you add your website to cloudflare to add to aapanel.
This article we will guide how to add a domain on cloudflare for free. Cloudflare offers a wide range of services for free. Many developers and company owners use cloudflare to protect their websites from attackers and hackers. It also makes your website fast.
In cloudflare you can enjoy most of the services for free. For some other services you have to upgrade your account to pro plan.
At first go to dash.cloudflare.com and create a new account. Now login to your cloudflare account. You will notice here a button namely "add a site". Click on here and input your domain name. For example your domain name is mydomain.com.
Now a new interface will be opened. Scroll down and select "Not sure where to start? Get started for free.Free $0". Click continue and it should scan your exciting dns records.
Click continue again and you will be asked to change your dns of your domain. Now login to your domain portal. Locate nameserver option. You can see here your old name servers name. Replace them with clouflare dns. It may take some time to propagate the new dns input.
When your dns is changed you should receive a notification from cloudflare that mydomain.com is now added to cloudflare. Now you can click on "done,nameserver" check and it should take to to fetch some editional features. Configure them all and your domain is ready to get cloudflare services for free. You will be now eligible to access security and caching feafures from cloudflare.
Migrating a website is not easy nowdays. This tutorial will guide you How to migrate a large wordPress site manually. If your website is large then it should be more complicated issue. Usually we change hosting because of slow performance, malware attack, old php, not enough resources. We can migrate a website both automatically and manually also. This tutorial we will guide how can you migrate your website manually without losing a single file or image whether it's large or small.
If your website is large then you can not migrate it automatically using a plugin. Manually migration causes downtime of your website. Downtime will effect your users because they will see server not reachable message. We will do the migration without a single downtime. Let's start the process.
First we will recommend you to add your domain to cloudflare. See how to add a domain in cloudflare. Now you can see the dns tab of your domain in cloudflare. Your domain is pointed to your server IP. Example 176.22.152.89. Please note the ip of new server or hosting.
Then open your web host manager (example: Cpanel, Plesk, Cyberpanel). Locate your website(suppose your site name is mydomain.com) and open the file manager of your website. You have to go your website's directory. In cpanel it's located inside Public_HTML. Now you will see here are some folders like wp-admin, wp-contents and some files also.
Select all here and archive(compress) them. You can use tar.gz archive extension. That will create a new compressed file. Download the archived file. Now go back to webhost manager again. If it's cpanel you will see here is option namely phpmyadmin. In phpmyadmin your database for the website mydomain.com is located. Now open the phpmyadmin. Go to the databases.
You will see the database name related to your website mydomain.com. For example the database name is mydomain_database. Now click on mydomain_database, then scroll down and select check all option. You are going to download that database. Now click on With Selected and choose export option.
Another interface will be opened. Select "Custom - display all possible options". Now scroll down and select the compression type as gzipped. Scroll down and click on go. You databse will be downloaded now.
Now final step, whatever we have downloaded we will upload them to new hosting. So open the new hosting manager. Add your domain on hosting panel. Go to the file manager and locate your domain. Go to your domain directory. You will find here some files from before. You can delete them or keep them. Now upload the first downloaded file tar.gzip. Extact it on same folder. Open the wp-config file after extraction. Note down database name, user name, password.
Go back to webhost manager. Go to databases and create a new database. Use the same name you noted from wp-config file. Create a new user, use the name and password you noted from wp-config file. Connect the database and user. Now import the database you downloaded previously.
Alternative: you can create new database, new user and password. then edit the wp-config file in file manager and replace the old database name, username, password with new one.
You're all done. Again go to your cloudflare. Find your domain and go to dns manager for your domain. Now edit the dns which are pointed to old server ip, replace them with new server ip. Visit your website. You should able to visit your website now and your site is at new hosting. If here is any error you can change it back to old hosting ip again.
If you didn’t use cloudflare just change the dns for your domain to new hosting provider.