Directi interview question

How does a website actually work?