InterviewDryRun
Internship interview

What happens when you type a URL into a browser?

How the interviewer asks it

“In simple terms, what happens between typing a website address into your browser and seeing the page? Go step by step.”

Typed drills are free and unlimited: the AI scores your answer against the outline below.

What the interviewer is looking for

  • A correct order of steps from the URL to pixels.
  • DNS explained simply: turning a name into an IP address, with caching.
  • Connections: TCP handshake and TLS for HTTPS.
  • The HTTP request and response, and what the server does.
  • Rendering: HTML, CSS and JavaScript turned into a page.

How to structure your answer

  1. 01

    Parse the URL

    Scheme, host, path; the browser may already have the page cached.

  2. 02

    DNS

    Browser, OS and resolver caches, then DNS servers return the IP address.

  3. 03

    Connect

    TCP handshake, then a TLS handshake that checks the certificate for HTTPS.

  4. 04

    Request and response

    The browser sends an HTTP GET; the server (often behind a load balancer) returns HTML with a status code.

  5. 05

    Render

    Parse HTML into the DOM, fetch CSS, JavaScript and images, lay out and paint.

Best answers from candidates

No candidate answers yet. Type yours, and if it scores 6 or more you can show it here without your name.

Answers are shared by candidates, without names, after a privacy check. Add yours

Common mistakes

  • Skipping DNS or describing it wrongly.
  • Going too deep on one step and never reaching rendering.
  • Mixing up HTTP and HTTPS.

Follow-up questions to expect

  • What is DNS for, and what would you see if it stopped working?
  • What does a 301 status code mean?

Now answer it out loud

Max will ask you this exact question, listen to your answer, push on the weak spots with follow-ups like the ones above, and score you when you finish.

Practice with Max

Free: a 5-minute voice round and unlimited typed drills, with scored feedback. No card, and your camera is never recorded.

More internship interview questions

Preparing for this round? Read hR interview questions for freshers, with sample answers and campus placement interview preparation: a guide for final-year students.