HestiaCP with Cloudflare - Web and Email setup on Oracle Cloud
Vložit
- čas přidán 4. 07. 2024
- We setup Hestia control panel on Oracle cloud, this time we are using Cloudflare for our DNS and CDN. You can copy and paste the commands in this tutorial from our blog post at here: ideaspot.com.au/blog/cloudfla...
The SMTP relay we use for sending email is Sendinblue, you can get yours setup here:
➡️ ideaspot.com.au/brevo
Sendinblue is now called Brevo, the setup method is still basically the same 👍
The full steps for configuring the SMTP relay are in the previous video here:
• Best Free VPS Setup 20... - skip forward about 15 mins.
0:00 Introduction
0:00 VPS Setup
3:10 Cloudflare DNS
5:03 Hestia Install
7:05 Cloudflare CA install
7:53 Port Setup
9:14 Hestia Config
13:00 Mail Config
16:14 Conclusions
At IdeaSpot, we support the free and open exchange of knowledge and information. Please support us by using these description links included here. Besides the great discounts you can get from these links, they help us grow too by providing us a small commission on referral. Thank you for supporting IdeaSpot so we can continue to provide you with free content each week!
Cloudflare + Hestia Video is back up - the old one got auto deleted because I tried to add links into it after it went live - annoying 😅
Anyway, this one is a bit smoother to follow and improves a few issues from the first video too 👍
the channel is the sh...., much appreciated
Any ideas on how to get the "forward to" on emails to work? I have an smtp relay, but it's still not forwarding emails.
@@pixelbat hey if you need that set up contact me back believe it or noti just set it up this week
I followed your youtube tutorial to create an ubuntu vps in oracle free tier and install the hestia panel in it.
next i want to move my web that is in cpanel to hestia panel.
how to use wget file on ubntu so that the wget .zip file is in the hostia cpanel folder?
i think the guide is now outdated, i used VULTR and followed it but i couldnt get my mail server working
Thank you for repeating simple steps that you already showed in other videos. Very helpful for beginners.
It’s midnight in my time zone. However, I stayed up just to post this comment. Thank you for your videos Alex. Very helpful.
Good morning!
Mate.
Ridiculous.
You are an absolute weapon, thank you for the level of detail you go into, and the width of coverage also. I've been looking for quick easy ways to move services from my home VMWare box with a public IP up to a hosted VPS but it always seemed so daunting. At least now I have a few different things to try, from Vultr to Oracle, aaPanel and Hestia, so thanks again. Now I just need you to teach me how to migrate hMailServer emails from a Windows Server 2003 VM (lol) to an Oracle hosted Ubuntu VM with Hestia, lol
It is amazing, your tutorials are nice and easy to follow
Hello Alex, what tools do you recommend to use to improve the loading speed of wordpress like the ones you showed in previous videos such as cache purge, etc and how can I install them with this procedure seen in this video? Thanks for all…
Hey man first of all thanks a lot for giving us the knowledge we need!! This is the exact thing what we beginners need before moving paid options.....🔥👍
thanks Leo 👍
@@IdeaSpot Hey I wanna know one thing that if we already have 24gb ram server we can also have one more with 1gb as on instances page it says we can have 1 ampere based and 2 other type instances
@@leothewolf yeah that will be fine 👍👍
@@IdeaSpot See this
`Each tenancy gets the first 3,000 OCPU hours and 18,000 GB hours per month for free to create Ampere A1 Compute instances using the VM.Standard.A1.Flex shape (equivalent to 4 OCPUs and 24 GB of memory). Each tenancy also gets two VM.Standard.E2.1.Micro instances for free.`
So according to this I already have an ampere instance [24gb] can I have one e2 instance too?[in free trial like I dont need to pay for the other e2 running at the same time]
@@IdeaSpot Sorry for nagging that much am just too confused
Thank you for such a great example!
You're very welcome!
Looks like there was a run on the Ampere CPU in all brackets, but I was able to get a 2CPU 12 GB configuration to go through. Thanks for re-posting your video Alex, even owners of channels have to be careful with links on the BIG BAD YOOTUBE😉
Thank you. Your videos are super useful! :)
Happy to hear that!
Great one once again Alex! I've created an instance with 50GB boot disk, wondering if I add another storage block of 150GB, can I move the website files and backups to be sitting in the non-boot directory?
Thanks again Alex.
No worries!
Cloudflare is the only viable (free, cheap) option in which you get to hide your IP's from the eyes of those just wanting to attack you. Never setup a site without it being behind cloudflare proxy. (except for setup purposed) Good Video Alex keep them coming.
Thanks Michael, appreciate it
Yeah but with MX Lookup you can find the original IP.. So thats why you shouldnt use a Mailserver at your root server.. Instead of that you can use free Zohomail / Yandex with your own domain
yeah great point, well thats just one of the reasons to keep email and web separate too!
Top quality content, i love itm thank u very much for share
Much appreciated
Nice 👏🏾😎
Hi Alex, first thank you so much! Your videos are really helpful.
I have installed cloudpanel following one of your videos, but now I already have a bunch of websites and I need the email server so could you please explain how I can move to hestia?
Amazing video! I used linode and have it set up. Just having issue with certificates, but I'll get it sorted. It haven't updated to say cloudflare is says "lets encrpyt"
Hi @ideaspot, do I need to install "Really Simple SSL" plugin for this?
Love your content - but I was wondering if you can look into OCI's "user permissions and SMTP credentials"? There is a tutorial on OCI Doc's but I don't know how to integrate to Hestia mail. I use Cloudflare along with my setup. Than you!
¡Gracias!
thanks for the great video's I am newby at this and am have an issue using Freenom for domain name it will not allow me to setup (@) like in your video. Is it the domain that I am using or am I doing something wrong? It says wildcards are not allowed.
Can we avoid third party for SMTP relay. Can Possible to configure within Hestiacp SMTP relay ??? Thanks for your Great Tutorial.
thanks bro
Hello, thanks for your tutorial. But for cloudflare SSL using your tutorial, get let's encrypt SSL 3 month.. When I was check it... It is autorenew?
Hi Alex I followed every step on this tutorial but my emails still do not send. How do I set a PTR record on oracle cloud free tier?
Thank you for this tutorial but can you help me more ? I have set up email as you said but i can receive email can't send... Can you help me in troubleshooting.
Show! 👊🏻
🤙
Hey Alex, I have a site hosted elsewhere for now, so I will give it Oracle/Hestia a whirl with mail only and let you know it goes.
Hi Alex, how do you setup Nginx on Wordpress website, so it's working perfectly with this setup (Wordpress on HestiaCP with free Cloudflare CDN on Oracle Free VPS)
and make Wordpress website faster ?
Thank you for the detailed tutorial. How do I setup nameservers for Hestia in this setup so that I can point domains to the server using nameservers instead of IP addresses?
czcams.com/video/LaHYEM2pUr0/video.html
Thanks Alex. Brilliant & valuable content as always. can you make tutorial on how to install ImunifyAV (free version) with Hestia panel. this option available in Cyberpanel. but i couldn't find any tutorial on youtube regarding Hestia.
I followed your youtube tutorial to create an ubuntu vps in oracle free tier and install the hestia panel in it.
next i want to move my web that is in cpanel to hestia panel.
how to use wget file on ubntu so that the wget .zip file is in the hostia cpanel folder?
Can I explore the Oracle Free Tier to set up a simple institutional WordPress website without any hosting expenses? Also, if there's a time limit on the free usage, could you please share the approximate cost to keep the website running there after the free period?
when i check ssl certificate, It's let's Encrypt not Cloudflare. I follow the exact as the tutorial. Anyone knows what's causing that?
Great lesson Alex! Thanks
Can you make a tutorial regarding setting up SOGo webmail client for hestia cp please
I have been trying for many days but failing to setup
Great work , I need you to explain how to install ioncube on hestia panel and Magento 2 on oracle free tier
Nice tuto. What about the messages on Cloudflare on mail and webmail records (this records exposes the IP uses in A record ....) ???
I just did this tutorial, and the SSL keys generated by Cloudflare work, but it says "issued by: Google Trust Services", not Cloudflare. Also says they expire in about 3 months. Do they auto update?
Great, thanks a lot,
Can I ask how can you create many free tier instances ?? 😇
Hello is posible to install pivpn (wireguard) on a hestia server It all seems to work installation wise, but I cannot make it work when I connect from my client.
Great video, got everything working via Cloudflare and setup Email SMTP via Google with App password as Google no longer supports unsecure apps. A couple of issues that I hope can help others. Firstly, there is a bug using the App to install Wordpress. It gives an empty DB Table. I solve it by importing a basic WP table. Once I got a basic WP installed I migrated my WP site. Secondly, there was an issue was the post _max_size and the upload_max_filesize was too small. I created a .user.ini file in the .htaccess directory with the settings I needed. For information I used the 2 AMP processor with 12MB. My quite heavy WP site runs very fast. Thanks again Alex and hope my small contribution helps others.
Just an update, when I used a 1 AMP processor wirh 6 memory the WordPress installation worked.
@@terrybattersby8903 Can you explain how you run emails via google?
Hi Alex, I have a oracle pay account with Hestia and port 25 open. I use Hestia panel for email server. How can i set the reverse DNS for each domain? Thanks.
hello, when i do this the phpmyadmin does not work, any solution? with the normal installation without cloudflare everything works normally
Hey great videos my friend but please dont forget to tell people to turn there SSL/TLS encryption mode to full(strict) other wise web domain wont load when going to website
THANKS!!!!! 😭😭😭
I thought that I had done something wrong or that I had made a mistake. But I only made the change to Full (strict). And it worked. THANK YOU VERY MUCH, your correction was very helpful, thanks again.
Followed this tutorial Please help, but my emails attachment is only 2mb, how to increase email attachment Size?
Hi Alex. Is there any way to change file-permission through hestia on oracle cloud? Or is there another easy way to do this? I haven't yet found the feature inside the hestiaCP. Thank you very much.
Tell your server you are the boss via SSH:
Change folder permissions:
find /your/wordpress/directory -type d -exec chmod 755 {} \;
Change file permissions:
find /path/to/wordpress -type f -exec chmod 644 {} \;
A quicker alternative is to change ownership of WP folder to the user running your server. Hestia does that by default.
sudo chown -R nginx:nginx /public_html
nginx is just a sample user here.
Could you do a full tutorial running a Private Docker development environment for using HestiaCP etc. 😁
how i can reach the file manager in hestia i tried everything and i couldnt find anything about the filemanager and also the backup
How to get that purple circle around the mouse pointer?
Thanks for this amazing guide. Everything works great except for incoming mail. I'm able to send mail and also receive mail from same domain but I am not receiving mail from outside, for example from gmail and hotmail. Does this not work anymore?
if you found out the answer could you please share it? i have the same problem
How can I deploy a laravel script I purchased on codecanyon on hestia panel
I can not use the pro smush plugin to turn jpg/png images into webp, how do I solve this problem from hestia?
when i add a site to my pannel and configure it and then when i visit it (i get this error - redirected you too many times.) Please Help Me
Hi Do I need SSL? if ssl is not enabled, is it why my setup failed to send email out? thanks.
I followed the tutorial but getting v-change-sys-port: command not found
Anyone know way? (VPS on Oracle cloud with Ampere shape)
hi, can you please make a video on how to enable fast cgi cache on this web server??
Love you videos. And Unfortunately I think a lot of people do too. I tried to go out on my own and setup the same Hestia CP on Azure. I got the CP installed but I think I'm stuck on the Firewall Rules. I have tried everything. I granted all Cloudflare IP's ANY ANY in and out. I have granted 53 udp and tcp in and out. I have granted 80 and 443 ANY in and out. Can you please try and do a video showing your success? One think I'm not sure about is the DNS in the Hestia CP - Do I need that if I have www CNAME pointing to my (domain) to IP A record? Thank you.
Got a "-bash: syntax error near unexpected token `)" error when install hestia, any idea why?
I am having a problem sending an email using SMTP Relay (Sendinblue) i've followed all the tutorials and the one with the Sendinblue config yet I can't send a email. I'm thinking it has something to do with the cloudflare dns settings.
Other than that all went well.
I have the same issue. Have you solved it?
Thanks for this nice tutorial. I have an issue with the change system port command: v-change-sys-port > command not found error.
I don't know if you have solved it but it is easy to solve, before executing that command, execute the following command: sudo su -
your method, install with apache webserver, please make tutorial on how to switch apache to nginx on hestiacp. I have already hosted important sites on hestiaCP so i cant reinstall it
Why do you have to save the certs via ssh?
Hi, how can we use BIND DNS and MAIL. I don't want to use cloudflare or other mail services.
Emails are send by roundcube but not received to its destination mail account.
Any idea why my mail and webmail stopped working all of a sudden? It used to work and I never touched any other settings. I'm really out of ideas right now.
able to receive but not send, do you have to use a smtp relay
Can we use CloudFlare's IPv6 in Hestia?
Hey, I am haivng some issues. Port 2083 isnt open. Any fix? Thanks!
Hello can you make a video on how to install ioncube loader in hestia control panel oracle cloud
Hello Alex, I am following your guide on how to setup hestia with cloudflare, but running it Hetzner’s servers. I was trying to install cloudflare’s certificate with the terminal but keep getting a 403 forbidden error… I am not sure if you could shed some light on the issue. I was super excited to see this video reuploaded because no one else teaches how to properly set up both cloudflare, and hestia while still being able to let mail through. Amazing content, you’re the best!
when do you see the 403?
@@IdeaSpot I installed the whole thing, I switched to port 2083 as well, and rebooted. Now I am trying to do the “wget …” step and receive a 403 error instead of it downloading the .pem file. But still everything seems to be working.
so wget is working when you got the hestia install script? but wget doesnt work when you try to get the cloudflare CA pem?
@@IdeaSpot Yes. I installed everything without an issue, I haven’t setup any domains just yet because I wanted to install the certificate first but I receive “HTTPS request sent, awaiting response… 403 Forbidden”
thats weird.. means youre blocked for some reason... could try this workaround.
Just download the .pem manually onto your PC, open it in notepad, copy it
then in your terminal:
nano origin_ca_rsa_root.crt
then paste in the cert from your PC and ctrl + x save and exit, then cp it into the certificates folder
I receive emails to the created mailbox. But I don't get it when I send it. Help
Hey there I have been setting up this solution, and it seems it's not working. I receive either Too many redirects or SSL Version or Ciphser mismatch
Hello, can you make a tutorial how to install fastpanel on oracle sir?
I can't use webp format with this setup, anyone know can I resolve that?
Sir, can you make a video or tutorial for RClone with hestiacp for auto backup to Google Drive.
Hi @ideaspot after adding Cloudflare SSL certificate whole website collapse its going to `This site can’t be reached`, I pass the cloudflare but still its showing me same error. Any help
Boa tarde! gostaria de uma ajuda. antes de finalizar aparece esta mensagem:
E: Tipo '“deb' não é conhecido na linha 1 da lista de fontes /etc/apt/sources.list.d/docker.list
E: A lista de fontes não pôde ser lido.
[ * ] Instalando dependências...
E: A lista de fontes não pôde ser lida.
E: Tipo '“deb' não é conhecido na linha 1 da lista de fontes /etc/apt/sources.list.d/docker.list
Erro: Falha na instalação do pacote, verifique o arquivo de log para obter mais detalhes.
Obrigado pela atencão!
Thank you for this tutorial. Can you make a Hetzner + Hestia (+Cloudflare) + Email setup tutorial? There are no tutorials online about this combination and for now, Hetzner Cloud seems like the best cost/performance service and the most reliable considering the user comments I have found online. Better to buy a reliable 4.19 Euro/month Cloud at Hetzner than stay at the mercy of Oracle's disponibility of free tiers and corporate humanless bureaucracy.
its basically the same, just you will use the Hetzner firewall (which they provide free) rather than the oracle one we used here - they will also allow you to use port 25 so you may not need the SMTP relay step (although it still may help, depending on what kind of email you're doing)
Hi Alex, I don't understand why when I save my SSL certificates on Hestiacp, if I click on SSL again, the 2 boxes are empty.
I've tried several times without success.
In fact it gives me an insecure site error.
Same here, haven't figured it out yet
I followed the tutorial to the point of adding the cloudflare SSL certificate to my main web domain (the hcp ssl worked just fine). And If i have Enable automatic HTTPS redirection checked, the website doesn't load. Browser says ERR_TOO_MANY_REDIRECTS
Solved. Changed cloudflare SSL to full (strict)
You are a lifesaver. Thanks
Great video Alex but don't get why you prefer this to aaPanel? BTW big thanks for that aaPanel video as that introduced me to the free Oracle tier. I've just tried to get this set up on another virtual server, easy to install and get https access via Cloudflare but there's no file editor like aaPanel plus phpMyAdmin just won't load "page isn't redirecting properly". Keep up the great work though. I've got quite a few of your videos to watch when I get the chance.
Thanks, they are both OK, there is a file editor in hestia on the top menu, phpmyadmin is ok too - I showed them previously here: czcams.com/video/Hz58Zkke4VE/video.html aapanel I hit some bugs with nginx and also the mail server didn't work on ARM cpu.
@@IdeaSpot Thanks for replying Alex, I'll have to give it another go.
thanks again
the Cloudflare Origin Certificates gives me 90 days instead of 15 years
i changed to full strict but it still 90 days
How i can do this with Cloudflare and home webserver with dynamic ip?
Can I put another website on the same server?
if I have already done the installation without cloudflare it is possible to migrate it without reinstalling the instance
yes just set up the domain on cloudflare like I do here, and you may like to use a cloudflare ssl cert rather than a 'let's encrypt' one, you'll also have to change the system port to 2083 like i did here too, these are the only differences
Hello Alex, I follow your tutorial, after instaling hestia, i can open control panel with public IP, but on domain it gives me 400 error, do you know how to resolve that issue??? Thanks!
Dude... the solution was something so stupendously easy, but it's a problem both you and I caused in the section of the subnet creation (port forwarding) in the Oracle Cloud. Make absolutely sure to NOT!!! define "Source Port Range", ONLY "Destination Port Range". That is what fucked me up for hours upon end and I couldn't figure out what caused this, I even ended up deleting my Instance twice because of such a dumb, minor mistake.
Which Panel do you currently like best?
Hi Alex, Thank you for the great tutorial. Everything is good so far. I'm facing one problem that is live editor/builder is not working in Wordpress. Live Builders like Elementor, Beaver Builder, Avada Live Builder. I tried all these builder but they are not working. Can you please give me solution to this problem.
Elementor works for me.
Increase memory limit in php 1000M. Enlarge upload file
.
This is done in the Hestia panel in the php settings
@@user-dp1bo5dw4f I just increased the limit to 1000M but problem is not solved yet.
@@mrahmedz everything works for me, what is your problem?
@@user-dp1bo5dw4f Elementor is not working at my end
I have an error "Publishing failed. You are probably offline." on wordpress installed site.
How can I create a subdomain in HestiaCP?
you are doing an amazing work on this youtube channel..thanks
but i think you forgot to add cloudflare 's name servers to namecheap ?
thanks, yes at @3:15 I mentioned using the 'add a site' feature, but since the domain we were using is already added we didn't need to do that during the video.
Man much appreciated you hard work I'm stuck getting SSL certificate error using cloudflare error : certificate authority not found
Can you help me out bit
so can I login into gmail with that email?
Just a note: if you use exclamation mark ( ! ) in the password, Putty will say "event not found" , so either remove it, or try \!
Thank You! you save my day.. 🥰
I can't send mail even using sendinblue's master password, but I can receive it. Anyone able to fix the problem?
4:44 Is it possible to do this without opening any ports in Oracle cloud? For example with Cloudflared tunnel ?🤔 maybe i give you some tips for future content?
Hi Alex, I have followed each and every step you shown in the video but my web use LetsEncrypt SSL instead of Cloudflare SSL, what will be issue? I copy-pasted the Origin Cert both keys on HestiaCP settings but after saving it disappears. :Stuck.
Update: So I found the solution which is actually weird, the issue was at cloudflare edge certificate showing letsencrypt cert, so I change the cloudflare account and reattach the domain, and it works! :LOL
@@unsaali1079 Hi, I have the same issue, but I don't understand how you solved it :( could you explain me please?
@@cesarcoronel2402 Hi, it is easypeasy, let me tell you a shortcut, create fresh account of cloudflare and attach the domain on fresh cloudflare account. hope it resolve.
Why can't I see antivirus and antispam during mail setup?
Followed everything to the letter, but can make the Cloudflare SSL work :( I mean, let's encrypt is working though
Hey Alex! What do you think of the Cloudflare email(BETA)? Do you think that a Sendinblue is the better option?
oh i didn't even notice its open beta now... it will be great but its for forwarding only I believe, so it will be perfect for receiving mail but will still need a way to send it, so sendinblue is probably still needed.
Thanks for the reminder I'll have to try it and make a video :)