Messed up the resolution on the new outro, was considering delaying the video more until the new one is complete but that would probably take a couple of days, so I apologize if the last 15 seconds of the video bother your ocd xD
One thing I've always been longing for when it comes to these types of vlds is 1. Using node 2. Setting up nginx in a secure way to allow outside traffic to it 3. And, as a final step, how to actually configure to use a self owned domain name and not the public ip. Great video nonetheless. 😊👌
I've already hosted a sales page to sell my software before using a Raspberry Pi 4 and my own domain. I built the LAMP stack with it back then, but now I'm more into "NGINX" since it's faster and more secure.
@@papesldjnsjkfjsn To be fair yeah I feel like most programming tutorials are very poorly edited and fail to keep the viewers entertained while remaining educational, hopefully I can fill that void xD
That is correct, if you were to want to use PHP to read, store or work with data on a database everything is set up correctly in order to do that (So for example wordpress)
Next in line I have - How to port forward (should be incredibly short) - Domain tutorial (how website names work, www. .com .net etc etc) - Wordpress tutorial - How to make a custom website
@@xyhard8603 Assuming you already have the server done as shown in the tutorial with the website files, you want to know what your public ip address is, then you go to your web browser and type the default gateway of your router, for example 192.168.0.1, enter password, go to port forwarding tab, Forward port 80 for the private ip address of the webserver (in my case the private ip of the raspberry pi), protocols both tcp udp, then you should be able to access the website from your public ip but then again you dont want to get ddosed. After port forwarding, buy a domain (recommend domain.com), no need for the "privacy extras", the extension (.com .net .org raelly doesnt matter, just what u like visually and is easy to remember). Create a cloudflare account, go to the dns settings of your newly bought domain, replace name server 1 and 2 by the cloudflare nameservers (they will explain how in account creation) Once nameservers are complete, on cloudflare go to the dns tab, add a new A record called @ and the ip address is your public ip address. Go to the ssl tab, check the radio button that says encrypt between browser and cloudflare and tada you now have https certificate fully functional site
Dude... I apreciate you! Good luck with your UA-cam Channel and your Carrer! I m still learning, i need to learn sql, php and i want to learn some of python... But what s your future plans?
Em I mean i guess you could use it to train neural networks that then bot stuff, otherwise i dont really see a way you can bot with it unless you want to make a web crawler or something
i need to send sms from server ( own server ).. how can do that ?.. i read something like sms gateway .. i dnt know what means that exactly !! can help me brother ! :-(
Actually I don't know that one, I guess you would have to use a sim card somehow, never really thought about it... but for mails you can just use an smtp server
@@KianBrose Thanks for the quick response but I still can't fix it. I place the cursor on the curly brace, hit ctrl and R but then I can't uncomment because the cursor doesn't move. Can you help me please?
Actually a domain is something entirely different, lets say your ip address is 201.294.28.183 That would be incredibly difficult for anyone to remember to access the website that that ip is hosting (in this case the host would be yourself and your webserver), so you buy a domain (something.com or .org or . whatever) that just redirects people to that ip address, so it's just made to make ips look pretty
So I tried doing this in Termux ( Terminal Emulator for android w/Linux env ), I'm already finished with the installation and Database part. Just wanna ask where did you get the "root /var/www/html;" . Also whenever I do the "nano /etc/nginx/sites-available/default" It always says that the directory doesn't exist. So I go to the nginx dir. and make a directory called "sites-available". I then made a file named "default". Is it the right thing to do? EDIT: What I mean about the Database part is that I already changed the password for root and can now login using the root. Also, the part where you do "add-apt-repository universe", it doesn't work on the Termux but i guess it isn't that important because I already installed the PHP needed.
Hmm, installing it on android is interesting, if you have access to a linux type shell you can use nginx -t which should print out test results and the location of these files
Even though I’ve already gone through these steps this was really helpful to see and understand the steps. Would love a part 2 on how to safely open up that server to the internet 😊 Edit: Oh here it is ua-cam.com/video/X2WQiTvXK9U/v-deo.htmlsi=gk_IEpY5kJCFQyt2
This is actually the first in a series of videos where I show how to make an actual website to be displayed on the internet, so this part was the actual server, next is port forwarding, dns etc
Should have edited out the Ubuntu repository addition - you clearly state the instructions are for Debian, or at the very least state the Ubuntu part BEFORE demonstrating the instruction - some of use are following along! Other than that, altogether an excellent video, I got a Raspberry Pi Zero W set up on the first run. Thank you.
Pretty clear instructions. Good job. Quick pronunciation corrections though. 'sudo' is pronounced like the words 'sue do' not 'pesudo'.** 'nginx' is pronounced like 'Engine X'. ** su is the Switch User command. But it is most commonly used to change to root, AKA Super User. sudo is literally 'su then do' but the user you switch to is root(Super User) so many(most? all?) think of it as 'Super User Do [command]'
@@KianBrose The Engine X one really threw me. In my head I always read it 'N G inks' Then I heard a developer talk and literally stopped what I was doing when he pronounced it 'Engine X'. Then I looked at the word and thought "Oh shit! That is WAY better!"
filezilla error the web server My Public IPv4 domain show website the ip 192.168.1.etc show site no available the file zilla error are Connection attempt failed with "ECONNREFUSED - Connection refused by server". Response: 503 Failure of data connection.
Haha I like calling nginks since it just rolls of the tongue faster, been told it's wrong before, but it seems I'm a bit too used to calling it enginks xD
It's also doable from quite literally any device whatsoever, even possible on old wii's and nintendo's as long as you manage to install linux on it haha
Constantly changing the camera, showing irrelevant items, annoying music in the background. Really? In a tech video.. Someone confused Minecraft with IT.
@@KianBrose yeah, I've built web servers and email servers with both LAMP & LEMP stacks on my Raspberry Pi 4, that's why I know how to pronounce it - the experience. Also, NGINX is better than Apache in terms of speed and security.
Yeah I think I mentioned nginx being far better in some part of the vid. Also could you elaborate on how you create email servers? I have always tried looking into creating a mail server for my domains for custom mails but failed to do so
03:56 Conceptually, instead of uncommenting then deleting you could have just left it commented right? or was that just to simplify the tutorial and save a few bytes of data? Also, for 06:29 Would there be any security concerns with giving pi ownership of /var/www/html as opposed to only giving it write permissions instead if say you do end up opening the server up to the public with port forwarding or not really?
6:29 I'm honestly not very well versed with privilege escalation exploits but just from the back of my mind, if someone hacked into the server and had access to pi they would have access to anything anyways as it's a root user Otherwise I'm not really sure
Messed up the resolution on the new outro, was considering delaying the video more until the new one is complete but that would probably take a couple of days, so I apologize if the last 15 seconds of the video bother your ocd xD
@Kian Brose I think that the quality of your video is really good
WOW! This is the best tutorial I think I've ever watched! Fast... To the point will... and No filler. Awesome!
Ty! messed the sound though
One thing I've always been longing for when it comes to these types of vlds is 1. Using node
2. Setting up nginx in a secure way to allow outside traffic to it
3. And, as a final step, how to actually configure to use a self owned domain name and not the public ip.
Great video nonetheless. 😊👌
I actually have a video about 2 and 3, i never touched nodejs in my life but maybe someday xD
I've already hosted a sales page to sell my software before using a Raspberry Pi 4 and my own domain. I built the LAMP stack with it back then, but now I'm more into "NGINX" since it's faster and more secure.
Thank you! Great video! Very informative and without any excess information!
Np! Glad you liked it!
Nice video. I Always learn something new from your videos! Thnx for great content!
Ty! Learning something new each vid is the plan xd
your videos are fire keep it up
Thanks! Will keep on trying to improve the quality for each new video xD
@@KianBrose they are already much better than most of the content i see in youtube
@@papesldjnsjkfjsn To be fair yeah I feel like most programming tutorials are very poorly edited and fail to keep the viewers entertained while remaining educational, hopefully I can fill that void xD
@@KianBrose exactly!
ah cool! ca fait longtemps que je l'attendais cette vidéo
J'éspère que ça ne décèptione pas trop xD
Tack så mycket Kian, underbara videoinnehåll
Ingen orsak!
Thanks, now i want raspberry pi even more
It will work on anything that you can install linux on xD even an ol' 2010 phone
So happy to find your channel ❤
glad to hear that!
i cant connect filezilla to rasberry pi
Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Open up the ftp port 21 with ufw
Very informative. Was the database installed to provide a repository for eventual dynamic content?
That is correct, if you were to want to use PHP to read, store or work with data on a database everything is set up correctly in order to do that (So for example wordpress)
Dude you are absolutly AWESOME! You will continue how to make a webserver? but not in local, in public
Next in line I have
- How to port forward (should be incredibly short)
- Domain tutorial (how website names work, www. .com .net etc etc)
- Wordpress tutorial
- How to make a custom website
I don t use wordpress i just creating websites by my self, portforward... please explain it (i have almost 2 years of webdev)
@@xyhard8603 Assuming you already have the server done as shown in the tutorial with the website files, you want to know what your public ip address is, then you go to your web browser and type the default gateway of your router, for example 192.168.0.1, enter password, go to port forwarding tab, Forward port 80 for the private ip address of the webserver (in my case the private ip of the raspberry pi), protocols both tcp udp, then you should be able to access the website from your public ip but then again you dont want to get ddosed.
After port forwarding, buy a domain (recommend domain.com), no need for the "privacy extras", the extension (.com .net .org raelly doesnt matter, just what u like visually and is easy to remember). Create a cloudflare account, go to the dns settings of your newly bought domain, replace name server 1 and 2 by the cloudflare nameservers (they will explain how in account creation)
Once nameservers are complete, on cloudflare go to the dns tab, add a new A record called @ and the ip address is your public ip address. Go to the ssl tab, check the radio button that says encrypt between browser and cloudflare and tada you now have https certificate fully functional site
Dude... I apreciate you! Good luck with your UA-cam Channel and your Carrer! I m still learning, i need to learn sql, php and i want to learn some of python... But what s your future plans?
@@xyhard8603 Mmm hopefully grow the channel enough so I can become the largest entertaining educational channel on the platform I guess?
You should do a setup tour
It's really nothing special, just a random guy with his phone as a camera, a microphone and a lot of editing
who are you and where did they clone you? very smart and well put together material THANK YOU KEEP UP THE GOOD WORK!!!
Thank you!
Can you please make a video on raspberry pi game bots? I use a raspberry pi and would like to learn how to use python for bots.
Em I mean i guess you could use it to train neural networks that then bot stuff, otherwise i dont really see a way you can bot with it unless you want to make a web crawler or something
Really good content
love you
Thanks!
i need to send sms from server ( own server ).. how can do that ?.. i read something like sms gateway .. i dnt know what means that exactly !! can help me brother ! :-(
Actually I don't know that one, I guess you would have to use a sim card somehow, never really thought about it... but for mails you can just use an smtp server
@@KianBrose what i can install for smtp server ? i need to build my own smtp server. so ? :(
@@RedaHaskouri personally never made one, can't say for sure sry, i recommend looking it up on google
@@KianBrose i search in google . but i don't understand exactly how! . anyway thanks for all :-(
@@KianBrose you can make videos on smtp server in python. Making own client side and server side in python is really fun.
nice one, Paul Dano. Very good
lol
Hey Bro your setup Is Very Cool
Ty! Camera is on a budget xD
Hi dear, thanks for your video, but after minute 03:45 I don't know witch keyboard buttons do you push, please, can you help me?
I had accidentally hit some things on the keyboard that I shouldnt have so it looked a bit weird, you just have to go down with the arrow keys
@@KianBrose Thanks for the quick response but I still can't fix it. I place the cursor on the curly brace, hit ctrl and R but then I can't uncomment because the cursor doesn't move. Can you help me please?
I know this is dumb, but does this provide a domain name for the website?
Actually a domain is something entirely different, lets say your ip address is 201.294.28.183
That would be incredibly difficult for anyone to remember to access the website that that ip is hosting (in this case the host would be yourself and your webserver), so you buy a domain (something.com or .org or . whatever) that just redirects people to that ip address, so it's just made to make ips look pretty
I'll be doing a video on domains shortly after making one about port forwarding which I finished recording today, just gotta edit it
@@KianBrose Ohhhh now i understand, thanks.
Raspberry the smallest computer in the world? I don't know how the developers of M^3 would feel about that. Great video, tho!
Correct, since the raspberry pi is not only a chip, but it has every other component embedded into it as well to make it work as a computer
Thanks!
@@KianBrose I feel like you mean something else when you say "computer" then. Could you provide me with your definition.
@@lbb2rfarangkiinok A set of hardware that has been wired together in such a way that an end-user can utilize it to run an operating system
Can you automate chess using python
Yes it's possible
So I tried doing this in Termux ( Terminal Emulator for android w/Linux env ), I'm already finished with the installation and Database part.
Just wanna ask where did you get the "root /var/www/html;" .
Also whenever I do the "nano /etc/nginx/sites-available/default" It always says that the directory doesn't exist. So I go to the nginx dir. and make a directory called "sites-available". I then made a file named "default". Is it the right thing to do?
EDIT: What I mean about the Database part is that I already changed the password for root and can now login using the root. Also, the part where you do "add-apt-repository universe", it doesn't work on the Termux but i guess it isn't that important because I already installed the PHP needed.
Hmm, installing it on android is interesting, if you have access to a linux type shell you can use nginx -t which should print out test results and the location of these files
@@KianBrose It's solved now, the nginx has it's own configuration file and I saw the line of code that you editted in their.
@@TheWorthyWubba glad to hear that!
Still not done, I'll update you if it works
It worked! All I need to do is port forward the site.
cool, might do this in the future
Even if it's not a webserver, lots of things you can do with a raspberry pi like a media server
Even though I’ve already gone through these steps this was really helpful to see and understand the steps. Would love a part 2 on how to safely open up that server to the internet 😊
Edit: Oh here it is ua-cam.com/video/X2WQiTvXK9U/v-deo.htmlsi=gk_IEpY5kJCFQyt2
oh so it's only for local or can you run a real website on it aimed to be displayed on internet ?
This is actually the first in a series of videos where I show how to make an actual website to be displayed on the internet, so this part was the actual server, next is port forwarding, dns etc
@@KianBrose cool can't wait, great content
Should have edited out the Ubuntu repository addition - you clearly state the instructions are for Debian, or at the very least state the Ubuntu part BEFORE demonstrating the instruction - some of use are following along!
Other than that, altogether an excellent video, I got a Raspberry Pi Zero W set up on the first run. Thank you.
Ty!
`sudo apt-get upgrade -y` should automatically respond yes while upgrading :)
Ik
nice video
Thank you!
Could you tell me how can I update my IP automatically at google domains?
It's not possible to do it automatically as far as I'm aware
受益良多, 非常感謝你.
不客气
why not just transfer files over scp or rsync?
Because this is how websites work
Does that alao work on a thinkcentre?
unsure what that is, but if it can run modern linux yes
Amazing.
Thanks!
How to access phpmyadmin
install it
It's sad you don't post often :(
Ik, having some irl issues rn xD
@@KianBrose Nothing can stop you ma man :)
They've really made this as brain dead as possible. Love it
Yep, its good
i place html file but nothing yet
whats the error?
Pretty clear instructions. Good job.
Quick pronunciation corrections though.
'sudo' is pronounced like the words 'sue do' not 'pesudo'.**
'nginx' is pronounced like 'Engine X'.
** su is the Switch User command. But it is most commonly used to change to root, AKA Super User.
sudo is literally 'su then do' but the user you switch to is root(Super User) so many(most? all?) think of it as 'Super User Do [command]'
Ty! Yeah I got pretty used to just doing sudo -s
@@KianBrose The Engine X one really threw me.
In my head I always read it 'N G inks'
Then I heard a developer talk and literally stopped what I was doing when he pronounced it 'Engine X'. Then I looked at the word and thought "Oh shit! That is WAY better!"
Yeah, I was told by some friends shortly after release that the way I said it was wrong haha
How to install aircrack-ng in phone using termux and using that how to hack Wi-Fi password please make a video please please 😭😭
xD maybe someday
Kian Brose speech speed sleep = 1000 for each phrase on your tutorials, so you don't speak to fast !
Lol
I think u can make a 3d game bot😋😋😊
mmmm not sure how to make those yet, but could look into it for a future video
@@KianBrose OK bro :-)
First
Wah that was fast xDD
no one cares
@@papesldjnsjkfjsn :(
@@aog3962 lol but it's anoying
@@papesldjnsjkfjsn i mean if it's annoying why would you answer?
It's pronounced N-gin-X by the way.
Yep so I was told xD
nginx is pronounced Engine X
Yep I was told that
filezilla error the web server
My Public IPv4 domain show website
the ip 192.168.1.etc show site no available
the file zilla error are
Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Response: 503 Failure of data connection.
Hm, you probably do not have FTP configured on the server which allows filezilla to connect to it OR have a firewall issue
@@KianBrose i already disable the firewall on the router and windows 10 do you know the commands on debian or a video or article ?
@@KianBrose some say that is issue with port fowarding
@@gunterkook3659 hm, it is possible that you have port 21/22 blocked on the debian device, you could try your luck with the UFW firewall
love your vids i hope your channel blows up
Thanks! I hope so as well
Great tutorial, but how you pronounced nginx tilted me so hard. EngineX😂
Haha I like calling nginks since it just rolls of the tongue faster, been told it's wrong before, but it seems I'm a bit too used to calling it enginks xD
Same
@@KianBrosestop calling it that then, I almost closed the tab thinking you have no idea what you're talking about lol
Now I want a rasperry pi. Great video!
It's also doable from quite literally any device whatsoever, even possible on old wii's and nintendo's as long as you manage to install linux on it haha
Nice
ua-cam.com/video/a8c5wmeOL9o/v-deo.html&ab_channel=Dylancliff111
Constantly changing the camera, showing irrelevant items, annoying music in the background. Really? In a tech video.. Someone confused Minecraft with IT.
Apologies for the free tutorial
Thanks for All the Information, It is Incredibly Helpful!!!!
Glad you liked it! Ty for watching ^^
You're pronouncing "NGINX" incorrectly. It's pronounced "engine x".
Yep I didn't know haha
@@KianBrose yeah, I've built web servers and email servers with both LAMP & LEMP stacks on my Raspberry Pi 4, that's why I know how to pronounce it - the experience. Also, NGINX is better than Apache in terms of speed and security.
Yeah I think I mentioned nginx being far better in some part of the vid. Also could you elaborate on how you create email servers? I have always tried looking into creating a mail server for my domains for custom mails but failed to do so
hey, guess who I am plus I love your vid Kain.
Hi Esc('y know)! Thanks!
Can anyone shed some lights on me of what I should know in order to host 10 websites and how much traffic my raspberry pi web server can handle?
Realistically speaking, about 5000 people per second, and if you have more than 500 per second you might as well get a real server
I recommend reading this raspberrypi.stackexchange.com/questions/86019/roughly-how-much-users-could-handle-a-raspberry-pi3b-as-server-for-standard-wor
Hacking Wi-Fi password aircrack ng video plz
Lol that’s pretty simple, planned in the future as well
@@KianBrose We all know its simple but we still want it from you :)
Excellent!
Thanks!
I was going to look for videos about this. Thanks
Np
It gives a 403 error
odd, did you perhaps try to access a file in the webserver on (I think) /var/www/http that doesn't exist? this was made a while ago
03:56 Conceptually, instead of uncommenting then deleting you could have just left it commented right? or was that just to simplify the tutorial and save a few bytes of data?
Also, for 06:29 Would there be any security concerns with giving pi ownership of /var/www/html as opposed to only giving it write permissions instead if say you do end up opening the server up to the public with port forwarding or not really?
3:56 well yes, honestly its just a habit to remove things I know I won't use but it wouldn't change anything to leave it as is
6:29 I'm honestly not very well versed with privilege escalation exploits but just from the back of my mind, if someone hacked into the server and had access to pi they would have access to anything anyways as it's a root user
Otherwise I'm not really sure
im waiting for new vids :3
I'll release one as soon as I'm finished with a test the 15th
kian my website stays showing php
what do you mean?
Very useful!
Glad you think so!
Clean precise and informative!
Amazing work
Thanks 😊