How to Install & Migrate WordPress Website to VPS With CyberPanel

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
if you are thinking of switching to a virtual private host and you want to utilize the lightspeed platform then in this video i'm going to show you how to set everything up step by step i will show you the process of me purchasing a vps plan for the best performing host log into the root server to install a control panel called cyber panel i'll show you how to create a completely new wordpress website and transferring and migrating your existing websites to your vps host now there are two types of lightspeed servers number one is the lightspeed enterprise server where you'll be able to host one domain for free on a server but if you want to host multiple domains you have to pay for it and the other is called the open like speed server where you can host as many domains as you want for free and in this video we're going to install the open lightspeed server anyway if you don't know which virtual private server to choose i have done the homework for you you can check out this video to discover which is the best performing vps host and you'll be surprised that the popular ones you know are not exactly the best performing if you have been following my channel i know some of you really want to get into virtual private servers but you don't know how to i made this video for you so without further ado let's get started [Music] hey this is jack and this is your first time watching a video from my channel i do a lot of wordpress and online business tutorials and my main focus is to help you get a fast loading website so that it can rank well on search engines and maximize your profits if this is something you're interested in then subscribe to the channel and hit the bell notification so you won't miss any of my videos anyway let's get started with the process now let's get started with ulta host because it is the best performing vps host right after i purchase a plan for outer hosts i'll be installing cyber panel to it and then i'll show you how to create a brand new wordpress site without a host or on cyber panel to be exact now this is the plan i'm selecting i'll be choosing the yearly plan because it gives more discounts so let's click on this and then for the operating system i want to select ubuntu with the latest version and as for the control panel i'll leave it as none we'll leave this to as it is and then let's continue let's check out fill in the details and then for this case i will use paypal let's complete the order okay i've paid for this service now let's go to services and let's go to my services you need to click here so you gotta wait for a while for ubuntu to be installed on the server so i'll pause this video and when it is done i'll come back to it now once you have signed up to outside host and you have paid for it they will provide you with some information like this and what we need now is actually this information over here this ssh information this is the root access to your server now to log into root and install cyber panel what you need is a program called putty you can download it here but as for me i have already downloaded it so what i need to do is to copy this ip address open up putty and paste the ip address here and then we can click on open okay first time when you're accessing the route you receive this message just click on accept and then now over here you want to log in as root and as for the password this will be the password now the thing here is that if you are still seeing the os is installing you would not be able to access the route you gotta wait for it for a couple of minutes for the installation to complete before you will see this over here right now let's paste the password by just right clicking it the password will not be displayed but it is already pasted so let's hit enter and now we are in now let me open this up the thing we want to do now is to make sure that all the system packages are up to date so we need to run a couple of commands the first is sudo space apt update and the system will start updating and then next sudo space apt upgrade and we are done and then the next thing you want to do is to paste in this command to install cyber panel don't worry you don't need to type everything out i've left a link in the description once you click onto it you reach my blog where you can copy the command hit enter and cyber panel will start installing then over here you want to hit 1 to install cyber panel hit enter and then over here you want to select install cyber panel with open like speed this will allow you to host as many domains onto cyber panel if you choose this like speed enterprise you can only install a lightspeed server on one domain so i will select one and hit enter for the full service of cyber panel i want to hit capital y and hit enter for the remote mysql i do not want to install that so i'll hit n for no hit enter and then i'll just hit enter and over here you're selecting your cyber panel password so d is the default password which is one two three four five six seven or if you want them to generate a password you can hit r or if you want to set it your own you hit s so for me i'll just hit s and enter i'll set a password and hit enter enter the password again do i want to install memcache why which is yes redis why and for the watch dog just hit enter and cyber panel will just continue to install so we can let this run for a while i think it will take about maybe 10 minutes or something and when this is installed we'll get back to this okay it seems that we are done so it's asking us if we want to restart the server i won't worry about that right now but what we need to do right now is to head over to cyber panel by copying this ip address with this eight nine zero port this is the part for cyber panel let's copy this and then you wanna open up a new tab and paste it here now the first time you're accessing this you receive this warning message all you need to do is just to click on advanced and just accept the reason continue because this is your server you know this is safe and now we are in cyber panel what we need to do is to put in admin and then for the password that's the password i've set in party and then let's sign in and we are in cyber panel right now now let's create a completely blank wordpress website so let's go to websites and create website and then let's select a package put it as default and then for the owner is admin the domain name i'll be using this domain and then for the email address and for the php i'll select 7.4 this is the most compatible version for the ssl i'll leave it as it is right now because this domain is not pointed to your new server yet when it is pointed you can install it later on and then you want to select this tree create website and we are done next let's go to websites and then let's list websites and then we want to click on manage now as we scroll down we want to install this wordpress with like speed cache this is your website name so i'll just copy this and i'll paste it here and then for the login user i'll just create a new user and then the password email address and then i'll leave this empty let's install now okay we are done so the next thing is we need to grab this ip address let's copy this link let's go to your domain name registrar you might be using something else but for me i'm using namecheap but all the functions are basically the same all you need is just to be able to adjust the a records so over here i want to change the a record make sure to only have the ip address removing all the other stuff and then let's save changes and then you need a cname record with your domain name over here and the host would be www so what this basically means is that this domain is now hosted on this ip address so right now if i were to copy this and if i open up a new tab and paste this in here we go that's rather quick we have a complete blank wordpress website but just to make sure it is hosted on outer host and on the ip address we want to open up a new tab go to dns checker.org and then you want to paste in the domain and let's search now let's check this ip address does it match with this it's 107 161 107 161 78 202 78 202 so there we are this blank wordpress website is hosted on ulta host now let's install ssl let's go to cyber panel and under ssl we want to manage it let's select a website issue ssl done now the ssl certificate is installed but right now if you go to the website and if you refresh you can see your website already has this https but if you remove it and you try to access the non-secured website this is quite lucky because sometimes you can still access the non-secured website so now i'm going to show you how to enforce ssl in case somebody tried to access your non-secured website i don't know who does but sometimes it happens so let's go to websites and then you want to list websites and then you want to click on manage now over here let's go to rewrite rules and then let's select template we want to force http to https and then save rewrite rules so now whoever tries to access your http version of your website they'll be forced to the https version of your website alright now that you know how to create a brand new wordpress website which is super easy i'm going to show you how you can migrate your existing website to cyber panel without any downtime and the site we're going to migrate is this e-commerce website that i have which is what i use to do woocommerce tutorials and this website is hosted on siteground which is perfect because siteground has its own control panel and it requires you to migrate your website manually once you know this method of migration you can simply migrate your wordpress website like a pro to any web hosting services it requires a few things your website consists of files and images database and you need an additional file called wp-config so as long as you migrate these three items over to your new web host your website will be up and running so let's visit the files of this website i'm gonna walk you through step by step here at the site let's go to file manager you'll see something like this all the files and everything of this website will be in this public html folder let's click through to it and as you can see here these are all the files of your wordpress website most of them already existed when you install wordpress and the file that constantly changes is this wp config as well as wp content this is where all your website files are hosted and you need to make a copy of this entire folder so let's head back one level this is the file we need to download to our local computer before we upload this to our new web host and all you need to do is to right-click an archive it may look different if you're on cpanel but the general idea is here all you need to do is just to download the zip file of this folder let's click archive give it a name let's say this is wp content let's confirm now it depends on how big your website is it may take a while for this and apparently this website is not very big so it probably took maybe a minute and then as we scroll down this is the file we have just created on cpanel you may be able to download the zip file directly to your local computer but for siteground this is how it works let me click on this we can either click on download here or we can click on the download button here either one works let's save this to my computer let's give it a while make sure the entire website is downloaded because over here it is 273 megabytes if the file is not completely downloaded we'll have some issues later on now let's do something else we need this wp config file so let's click on this and then let's download this and this is done now in the meantime we need to download the database because without the database everything wouldn't work your website will crash because over here all your website files are pointed to the database and from the database it will draw all the information and files and display it on your website so the database is super important to access that let's go to mysql and let's go to phpmyadmin if you are on cpanel you should be able to see phpmyadmin as an option you don't need to go through these hoops anyway let's access phpmyadmin now as you can see this is the database of the website if you have multiple websites and you're running it on cpanel you may see many different database here and because sometimes on the database you will have no indication of which websites this database belong to so let me show you how to see it now let's say we don't have this calf.com over here and we just have this gibberish numbers over here now what you need to do is to expand this and then there are so many data tables over here and what you need is the options table over here now the prefix may be different for you but there will always be one options table for your database if you click onto it you will see over here on the site url it is pointed to this website so you know this database belongs to this website okay now what we need to do is to copy this entire database if you click on this database these are all the database tables of your website what you need to do is to check all and then with selected you want to export it and then just click go and let's save the file on the computer so the wp content folder is downloaded this is 273 megabytes let's go back to siteground and to file manager let's see if it matches the size of the zip file over here so it's 273 megabytes so this matches alright now that we have downloaded all three files it's time to move them over to your new server which is managed by cyber panel the first thing we need to do is to create a new website just like how we created a brand new wordpress website so let's go to websites and let's create a website now over here let's select the default admin and for the domain name we gotta put in the same domain of the website you want to transfer over from the other web host so it is carved.com put in an email address select a php version 7.4 is the most suitable now over here we do not want to check the ssl yet because right now it wouldn't work it will only work if the domain name server is pointed to this ip address so we'll install the ssl certificate later on once you have pointed the domain name server over we can check all these and let's create the website let's give this a while and we are done next we need to go to websites and list websites and this is the website we have just created don't mind this because this is drawing information from the current website so let's go to manage and then you want to scroll down all the way and let's install wordpress title will be carved this is your wordpress username the password and the email address and let's install okay we are done now let me show you something let's go back to list websites and then let's manage this if we go to the file manager and if we go to public html we can see that all these files are installed by default from the wordpress install and from here we can see we have wp content this contains all the images and files of the blank wordpress install and we have the wp config this is something very important we have to change something over here later on in order for everything to work so we have to import everything here first and then we'll make the change let me open this up so you can see what's the difference now over here you can see that the database name is this and the user is this when we import the wp config file from another host it will have a different database name and user and a password as well so we gotta be mindful of that we gotta take note of this information of this blank wordpress install and we need to move all this information over to the wp config file we have just downloaded from the previous host so for this file you want to open up as a notepad let me adjust this just note that the one on the left are information of the brand new wordpress website we have just created and these are the information of your previous hosts as you can see they are different over here the database username is this and on the new web host this is the username so right here this database name we gotta copy this and we gotta paste it over here the username as well and the password and finally this host name the rest you don't actually need to change them because you're going to move the database from the previous server over to the new server so all these are the information of your current website while all these are the information of your web host so we change this and we leave all this as it is alright so let's save this and we are ready let's close this off now what we want to do first is to access the database of this website so let's open up a new tab and then let's go to databases and list database we want to select the domain sorry we want to go to databases and we want to go to phpmyadmin and over here as you can see there are two databases to know which is which let's just go to wp options and as you can see this database belongs to the website we're transferring over so let's select this and then what we want to do is to drop all this information off because this is the database of the blank website we want to import the database of the carbon website from the previous host so let's check all and then what we want to do is to drop it and then let's select yes next you want to import now there is something i really want to show you you see over here the max upload size this is 80 megabytes which i think is enough because the sql file is 11 megabytes but in case you're seeing like maybe two megabytes i want to show you how to fix this because if you try to upload a 11 megabytes file and your maximum upload size is 2 megabytes it will pass an error so let's go back to cyber panel and then let's scroll down and then let's go to php and you want to edit php configs we'll adjust both 7.4 and 7.3 let's do 7.4 first so over here the upload maximum file size we want it to be 200 megabytes and for the post max size we want to change this to 80 megabytes so these are two things we have to change we have to save changes and restart the php now next we want to select 7.3 let's do the same thing 200 megabytes here and 80 megabytes here and that will solve this issue you just got to make sure that you restart the php and if you still don't see this change you got to enter my php again over here this is important if you see two megabytes over here because by default cyber panel set this as two megabytes anyway let's upload the mysql file let's open this and let's click on go now depending on how big your website is this may take a while so we just let it run for a while and we are done this is not a big website so it just takes a few minutes okay cool this is the database from your previous web host we are basically done with phpmyadmin next let's go back to file manager and for this wp content we want to delete this but just to make sure that we delete only wp content because we are going to upload the folder from the previous host let's delete this skip the trash folder and now we want to upload this file let's click on upload and this is done let's close this now we gotta delete this wp config file and then we gotta upload this file and we're done now there is just one very important thing for us to do which i totally forgot and it is to edit the database option from https to http just in case there are any conflicts to the ssl certificate during the propagation or switching of hosts because when you shift to a new host the ssl certificate will be different from the previous hosts so if you foster https and the new ssl certificate has not taken effect it might cause some conflict and downtime and you don't need to worry about your site not having a ssl certificate in the meantime as soon as you point your dns over to your new host you can immediately request for an ssl certificate now the order is very important before your new host can issue an ssl certificate your dns has to be pointed over to the new host otherwise there will be an error issuing the ssl certificate let me walk you through it so here we go let's go to the database and then let's go to the options page and right here you can see that the site url is https the home page is https as well if we haven't issued an ssl certificate on the new website and you're forcing the https there will be a conflict so that's not what we want we want to edit this remove the s and let's click on go so this is saved let's do this as well and we are basically done now that we have everything ready to go there's just one more thing we need to do which is to point the domain name server over to the ip address on altar host which you can find over here or you can find it on your cyber panel this link over here as well as this so let's go to your domain name registrar i'm using namecheap but whichever registrar you use the functions are going to be the same you need to go to the section of name servers and as you can see over here this domain is currently hosted on siteground and if i want to point a domain name server to the ip address on ulta host all you need to do is to select the name chip basic dns and over at the advanced dns this is where you can change the a record so let me delete this and let me do it again now over here click on add new record and we want to select this a record and then for the host we want to put add and then the ip address so this basically means that this domain is hosted at this ip address let's check this to save changes and then we want to add another new record this time around we want to select cname record and over here the host we want to put www so that in case someone types in www.calf.com they both mean the same thing it's all going back to the domain name let's save the changes and we are basically done right here and immediately you have changed this you need to go back to your cyber panel over here make sure that you have selected the correct website let's go to ssl and manage ssl select calf.com and then issue ssl and we are done so let's go and check out the website and there we go now let's check if this site is now hosted on altar host let's go to dns checker dot org put in our domain and let's search now as you can see some parts of the world the dns is still propagating but the ipa address here matches the one from cyber panel which means the domain is now hosted on altar hosts so this is cool if you're not confident in migrating your wordpress website to ulta host you can seek their support team to do that for you i think outside host is probably the only vps hosting provider that provides this service most vbs providers just expect you to do everything on your own so that's why i highly recommend outside holes not only is their support good they happen to be the best performing as well anyway there is one more thing left to discuss which is the security features of cyber panels so let's go now let's talk about some security features first we have the firewall as you can see by default cyberpanel has whitelisted this list of items port 8090 is the cyber panel port 433 is the https but if you look closely the port for lightspeed server is not here i'm not sure if you need access to the lightspeed server but if you do you can access it through your ip address let's copy this and then let's open another tab the port for lightspeed server is 7080 and here we go in case you are blocked for this page for some reason maybe your hosting provider blocked that port by default for example you can come back here and white list the port by adding the rule name you can put this as like speed server this is just for your reference and then you can select tcp and then for the ip address you can copy this and paste it here and for the port it is seven zero eight zero you can add this and this port is being white listed here this is the basic function of this firewall you'll get a more comprehensive one later on next we have this secure ssh which is the access to your root server if you don't want anyone to gain access to your root server by guessing the password for example you can disable this you can also specify the port number of your root access by default it is 22 you can change it to something else but just make sure that it does not conflict with others such as the ones you see just now and then if you only want to allow access to your root server through your local computer you can click on this ssh keys and then you will go to your local computer and generate those keys and add them here with these commands so in future if you want to log into the root server you don't need a password to access it but you can only access it through that local computer i won't show you how to do it but there's a documentation over here i've left the link to it in the description next we have the mod security configuration by default mod security is not installed you have to turn this on manually mod security is basically an open source web-based firewall application it adds a layer of security to prevent your web applications from trojans sql injections and many others basically mod security works in the background every page request to your server is being vetted by mod security and it will filter out those requests that may seem malicious so this is the most basic of all site security i highly recommend that all these are turned on and you also want to turn this mod security rules packs on as well right here next we have the csf which is the more advanced firewall by default this csf is not installed you need to install it this will protect your server from brute force attacks if there are too many login attempts from a particular ip address it will automatically block requests from that ip and in case you're not happy with somebody visiting your site maybe it is your enemy or whoever and you know their ip addresses you can block them from visiting your site through this csf what i just said can be done over here anyway let's go to the next we have this immunify 360. now this emunify 360 is a comprehensive security suite it has antivirus firewall php security and many other features basically it protects your server and websites from malicious malwares and it makes it hard for anyone to access your server without your permission but if hackers did manage to install some malicious malware it has the ability to clean it up this is really cool but it is not free the smallest plan of all is 12 dollars per month so if you go to immunify 360 account you'll be able to get a key where you can put it here and install it and finally this immunify av which is basically a free malware scanner by default it is not installed we can install it now and what this does is that it will scan your website for any malware and it will notify you but if it happens that there are malware on your server or on your website and you want to remove it then you probably need to get a minified 360. so you can basically access this you can log in through your root access and here's how it looks like they'll do all the malware scan and everything and you'll be notified whenever there is a malware so i hope that you have enjoyed this video and that this video has helped you out feel free to leave a comment down below letting me know if it worked for you all the best to you take care and as always stay safe [Music] [Music] i'm thirty feet
Info
Channel: Jack Cao
Views: 1,845
Rating: undefined out of 5
Keywords: cyberpanel tutorial, cyberpanel wordpress, how to install cyberpanel, openlitespeed wordpress, cyberpanel install, install cyberpanel on ubuntu, wordpress hosting, hosting control panel, install wordpress, install wordpress on cyberpanel, ultahost, ultahost review, wordpress hosting tutorial, cyberpanel, cyberpanel ubuntu 20.04, cyberpanel linode, cyberpanel digitalocean
Id: rWlq8e-6ujA
Channel Id: undefined
Length: 30min 14sec (1814 seconds)
Published: Thu Nov 04 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.