The first process is a DNS lookup where the domain name server (DNS) stores a table with domain names and their corresponding IP address.
The second process is called web page rendering where the computer takes the HTML and turns it into the page that displays on your screen.