I started to learn some cybersecurity and pentesting from TCM and HTB ACADEMY and they teach how to host a server but I don’t understand why doing that? what’s the point of hosting a web server in the field of cybersecurity and why they teach me that?
If you work in security, you will almost certainly have something to do with web servers, so you need to know how they work.
Firewalls, Port Forwarding Blocking, Log Analysis. Paper is one thing, and practical is another.
Your server will be under attack the moment its facing WAN. Learn how to secure it.
If you want to secure something, you should know how it works?!
Sounds to me like it’s just part of the course to get you “introduced” to things you may venture into and using it as a tool to play with for you to get familiar with things
So you know how to do it securely and analyze what may go one when it is attacked. Or what else do you want with cybersecurity? It’s about securing services on the global network and local. And webhosting is one of those service.
How are you supposed to secure something that you don’t understand?
If you learn cybersecurity you will be hired by companies who want to either test their security or have you implement one. How are you supposed to know how to do that if you don’t know how a website works in the first place. How to work with a website. If you could tell the it guy to just „do xyz“ there would be no reason for them to hire you.
Someone being a Webdesigner has to know how a website works too to be able to design one. They can ignore security and resources for the most part, but they have to know how to make their pretty website run in the first place. Otherwise you could just hire a graphic designer to make a few fancy drawings of their website and hire someone else to build it