‫Hey, what's up, guys?
‫And welcome back.
‫So in this lecture now, we're going to be working up with the online server.
‫So if you take a look at the first lecture of the course, then I told you that this course is divided
‫into three sections the beginner section, the intermediate section and the advanced section.
‫And so I would like to congratulate you guys because now you are at the last part of the beginner section
‫and you will be fully done with it after you complete the third step, which is deployment of website
‫to the online server.
‫So the personal website that we created in the previous lecture that is 100% completed and now it's
‫ready to be deployed onto the online server so that other people can view that.
‫But before starting this section, let's have a look at how websites work.
‫So basically websites work with two behavior, the request and the response.
‫These are the only two behavior the websites work.
‫There are zillions of websites and all of these websites behavior is the same.
‫Let's have a look at a website.
‫So let's suppose that now I go to Google.com.
‫Now when I hit Google.com and I hit enter, then the Google page is actually loaded.
‫And right here it says This is basically a request that was sent to the Google server and now the website
‫is loaded in my browser right here, which is the response.
‫So let's have a look at this diagram right here.
‫So when we type in Google.com, the request is sent to the Google server.
‫Now the server processes that request and then it responds the Google Home page onto the client or to
‫the computer.
‫Now, let's suppose that I search for Udemy right here on Google.
‫Now, Udemy query is actually sent to the Google server and now the Google has sent this response and
‫now this whole page is right here as the response.
‫So this is how basically everything works.
‫Whatever website you go, you go to Facebook.com, you log in so that login credentials are actually
‫sent to the server, it is verified onto the server and then the response is actually given back.
‫So in other words, an online server is a computer software that is stored in hardware and that accepts
‫requests and sends a response back to the computer.
‫So server accepts the request and sends the response back to the computer.
‫So now this is an image of a server right here.
‫You can see that there are so many servers right here and they are managed by a single computer where
‫you can monitor all the servers, you can shut down a server, you can restart a server and so on and
‫so forth.
‫So now what have we learned is that in order for you to build a website, you need to have a server
‫that can accept the request whenever someone wants to visit the website and that can send the response
‫back to the computer so that the person can go through the website or enter or submit his information
‫on a contact form.
‫The mail can be sent and everything like that.
‫So basically, in order for you to build a website, you need to have a server.
‫And luckily there are two methods for that.
‫So the number one method is to purchase a server, build your website onto your own server, and then
‫just like do everything from scratch.
‫And there is also another method, and that is to just like purchase or like basically rent a server
‫from a third party company, host your website there they will do everything.
‫They will be like responsible for all the security issues and everything, and you just have to upload
‫the website there and there we go.
‫You do not have to do anything.
‫So let's suppose that if you want to build your own server, then what are the cons for that?
‫So if you want to host your website on your own computer using your own server, then there are so many
‫cons for that.
‫And the very big con is that that is going to be very costly.
‫Like, first of all, you have to purchase a server and then you have to just like get a very high speed
‫internet connection with almost like maybe 100 GB per month for a single website.
‫Along with that, you have to keep that server powered on anytime.
‫So the electricity cost is also going to be there.
‫Not only that, you will have to secure your server yourself.
‫So basically you can see that your website will be online and when your website will be online, people
‫will be accessing your website.
‫So once when the people are accessing your website, that means that they are accessing your PC and
‫there might be some of the breaches that will be there.
‫So they can there might be a possibility that they could hack into your computer.
‫So that is also on your end.
‫And basically as the technology is increasing, you will have to keep yourself up to date with every
‫of the like hacking attempts that's been happening nowadays.
‫So that is on your end too, which is quite a huge disadvantage.
‫Also, there is no customer support, which means that if anything goes down then that is on your end
‫and you are responsible for it.
‫There is no one there to support you.
‫And the last but not the least, is the total cost.
‫So for the first year it will cost you $3,450 and later that year it will cost approximately $450 per
‫year.
‫So hosting your website by purchasing your own server, hosting it there is quite, really very costly
‫and I would not recommend you to do that.
‫However, there is another method, and that is to rent a hosting for a limited time period.
‫And what they say is that they just tell you to give them the internet, costing only electricity cost,
‫server costing.
‫They'll be on there and you just have to give them the internet costing and that is also under $100.
‫So here comes the web hosting.
‫So what they give you in a web hosting is that they give you plans and in those plans they can offer
‫you different type of features, like how many number of websites you can build, like 100 websites.
‫Along with that, you're going to get 200 GB of Nvme storage.
‫You're going to get daily backups for free, free email, free SSL, free domain free CDN.
‫Along with that, you're going to get free customer support and so much more.
‫All of that for just $54 per year.
‫Now, keep this thing in mind is that this is actually the discounted price that will be given to you
‫when you will be purchasing the Web hosting plan from them for the first time.
‫After that, when you will need to renew that, then you will have to pay $144.
‫So basically, since I am actually affiliated with this hosting company, I contacted them, I reached
‫them, I told them about my audience, which is mostly students, and I told them that that they cannot
‫afford that much price in one go, basically, since they will be starting up.
‫So that is why we came up with the plan.
‫And this is actually the discounted price that I can offer you as you are my students.
‫Now, keep this thing in mind is that after whatever the plan like let's suppose that if you choose
‫to go with them for one year, plan, then after that you will have to pay this particular price when
‫you will be renewing that.
‫So that is why I would recommend you to go with the four year plan, pay them just 173 USD and then
‫you do not have to worry about the hosting charges for a whole four years, like after four years when
‫your business will be up and running.
‫It can be either a multinational business, then paying only like 108 USD per year is not going to be
‫very much costly for you.
‫All right.
‫So we are going to be talking about these plans and everything later on in the next lecture.
‫But let me tell you one last thing is that they will also be giving you the 30 day money back guarantee,
‫which means that you can purchase the four year plan from them.
‫All right.
‫You can start building a website.
‫And let's suppose that within these 30 day period you do not like their services and they are lacking
‫something.
‫All right?
‫It can be anything.
‫You can contact them and they will give you all your money back with.
‫No questions asked.
‫So now let's have a look at how web hosting works.
‫Basically, web hosting company gives you the panel that is the hosting panel, and you will be able
‫to manage your website completely with that.
‫Now, what is an H panel?
‫When you install windows on a computer, you are basically given a GUI.
‫That is graphical user interface.
‫And there you can manage everything.
‫Like you can click on the my computer, you can go to the local and you can open up any of the file
‫like this is how it's work, right?
‫So similarly, the C panel is exactly same where they provide you everything.
‫So you want to go to the file manager, you can click on that and you can upload the files.
‫You want to go to the databases for the phpMyAdmin, create a new database, delete any database.
‫They give you the option for that and you want to create your email account like info at the rate domain.com.
‫You can also do that.
‫Along with that, they give you the free customer support.
‫And last one is the free SSL.
‫That is the security.
‫So they also give you that as well, which is a very cheap and the total cost is only 144 USD per year.
‫So in the next lecture now we will be purchasing the web hosting from this company and we will be going
‫up with this particular plan.
‫And in no time your locally hosted website will be online.