Now, before we dive into the actual steps
of taking our first website and bringing it online,
let's clarify some terms.
We had the terms hosting and deployment in the last lecture.
What's that about?
Well, deploying a website simply means
that you take your website code,
so your HTML, CSS, and maybe JavaScript code,
which we don't have yet
but which we will learn about later in the course,
and you move that on a remote machine,
a so-called server that then serves that site,
so that code to visitors that might be visiting your website
by entering a certain address,
because keep in mind how the web works.
You have users using their mobile phones or laptops
or computers who enter some address
and that then leads the browser to send a request
to that remote machine, to that so-called server,
which stores the HTML and CSS and maybe also JavaScript code
that then will be sent back with a response to the browser
so that the browser is able to show something
onto the screen by reading those instructions
that were stored on a server.
Since that's how the web works
and we now know how to write these instructions,
at least regarding HTML and CSS,
we now need to take these instructions as a web developer
and move them onto such a server
and connect that server with an address like amazon.com
so that visitors can visit that website
and see our code in action, so to say.
And that's what deployment
or deploying a website is all about.
And hosting is very related.
Hosting simply means that some remote machine,
so that server, stores that website code
and serves it to visitors
so that this remote machine is configured
such that it's able to deal with incoming requests
and then send back your stored website code
as a response to the browser that sent that request.
And if you want your website to be visible to other people,
if you wanna ensure that other people can visit your website
and see it by entering some address in their browsers,
you need to host/deploy,
it's pretty much the same as you learned, your website.
So you need such a remote machine that holds your code
and sends it to browsers
that sent requests for your website.
So if you enter amazon.com,
a request is sent to Amazon's servers.
And since Amazon, the company,
took its website code and moved it onto a server,
your browser is able to send the request there
and the server bought by Amazon,
which hosts that website created by Amazon,
is then able to send back that website,
these HTML and CSS instructions.
And we're now going to do this ourselves.