This is a complete (Step-By-Step) Guide on how to create a WordPress website with VPS Hosting (DigitalOcean), on top with cPanel installed (from scratch). For more info, go to my online guide: markperez.dev/...
WOW, I am so new to building my own first website and also going with a VPS instead of shared hosting, man you sure covered a lot of ground honestly and I am so glad that you shared your screen too so its visibly clear watching it, thank you so much man for real I am saving your video because this is all new to me, cheers buddy.
I am at the very beginning with vps. Your video gave me a lot of guidance, because you cover very well the essential topics in a very understandable manner with this video. So I can go further. Thank You!
For all guys, who have error with centos... (THIS WAS AN MAIL BY VPS HOSTER) Dear clients, The fix is quite easy, you just have to change the links in the CentOS-Base.repo file, you can find this file in /etc/yum.repos.d/ So do: nano /etc/yum.repos.d/CentOS-Base.repo Remove all its content and copy the whole code below, paste it in the file and save it. [base] name=CentOS-$releasever - Base #mirrorlist=mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra baseurl=vault.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 #released updates [updates] name=CentOS-$releasever - Updates #mirrorlist=mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra baseurl=vault.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 #additional packages that may be useful [extras] name=CentOS-$releasever - Extras #mirrorlist=mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra baseurl=vault.centos.org/centos/$releasever/extras/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus #mirrorlist=mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra baseurl=vault.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 #contrib - packages by Centos Users [contrib] name=CentOS-$releasever - Contrib #mirrorlist=mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib&infra=$infra baseurl=vault.centos.org/centos/$releasever/contrib/$basearch/ gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 When you've saved the file, do yum clean all and then yum update, all should work fine now.
Many things could have been done better: cPanel has its own DNS MANAGER which Namecheap and digitalocean offer. What you should have done is point your domains to: ns1.YOUROWNDOMAIN.TLD ... ... ns4.YOUROWNDOMAIN.TLD And then after wards you go the advance dns in the Namecheap portal and then add a IP address for “ns1” Please note THIS step always changes from domain provider to provider. In Freenom it’s there as “Register Glue Records” And then this option will allow you to force a IP address in the Nameservers Other than that, it’s good, but the DNS was even set incorrectly when I was young too.. Many people have this issue. (9:23) STOP putting windows users in the dark. SOME providers won’t allow the VNC option. You can directly SSH from your windows PC using a very famous “puTTy” (9:49) It’s nostalgic to me, Anyways, you said not to share the IP address. Well it turns out after your site is active... they CAN easily know WHAT provider and what Datacenter location and THE IP address of the server.... all from your website domain name.... unless you use a Cloudflare or any other CDN for protecting this..... It’s so advance if you have other domains hosted under the same IP or server, I can even see few of the domains which were/is hosted in your VPS server, ITS ALWAYS good to use services like cloudflare...... and to avoid confusion, use the WHM/cPanel’s inbuilt DNS manager... (12:57) cPanel can DO all the installation it’s is own. YOU only need $-yum update for the system. Don’t need any extra tools.... And yes installing “screen” is a good idea And I noticed whenever we are installing cPanel it’s always good to go to the /home folder.... or else cPanel will give a error. By default when SSHing it should redirect to that directory ( I think ) but as far as I remember I always had to “cd /home” and then curl -O https;//securedoenloads.cpanel.net/latest Then “bash or sh” latest 15:33 and yes the cPanel the trial issue. What happens is sometimes, when we use a VPS the IP address we get was ALREADY used by a older company/client. As we have less IPV4 in this world....we are sometimes forced to use a IP which a client installed cPanel and then no longer wanted to use the VPS. As in the matter of result, sometimes you would be forced to buy cPanel monthly licenses to even get started. Or sometimes there IS ALREADY a license activated from the past ( again, maybe some client bought 1 year license and decided to not have the VPS server for any reason. The license will still stay active for the next half year) ( sorry for my bad English, sorry again. I just wanted to say few things here!) Thanks for reading,
@@sajunsandaruwan Hey, I was following your guide and I did everything but I don't understand how to connect my domain to my ip...like normally I just add the nameserver...but with vps I don't know what to do...
@@vaishnav3735 Here you need to add a glue record for your main domain.....not nameservers (But I haven't explain this in my article) Or else, simple thing is to add a "A record" at your domain provider by keeping the nameserver of domain points to the domain provider BTW what is your domain provider??
this is may be dumb question from newbie like me but idk but if it will not work if i just using vps hosting system + domain from namespace without go to digital ocean for server. i think namespace provide not just only domain but they have their own hostinger system too with reasonable price with ubuntu or debian os already instaled.
yeah u can use any VPS Hosting service. I just happen to use Digital Ocean because they give you "one-click" installation images that give u a specific setup right off the bat, but any other company can offer this too.
Can i ask how can i increase my entry processes? cuz im planning on switching from shared hosting to vps hosting but i dont know how to increase it, and that is my number 1 problem cuz im always getting 508 resource limit on my wordpress website.
sorry i do not know, but this could be because of a shared plan - they're not meant to be for power users. but switching to a VPS will give you more control.
What do I do if I want to change and access my website using just an IP number? for example, I have a website with a domain name www.belajarip.com with IP address 117.12.1.123, now I want to use the IP address as a domain and appear on Google SERP. can you teach me how to set it up?
I keep getting "lost sync at byte 1" and "driver resynced" messages scrolling down the console when I open the VPS's console from digitalocean. Did I miss something?