Web Basics · Beginner-friendly guide
What happens when you type a website address?
By Shankar Digital Hub · Educational article
When you enter a website address in a browser, several parts of the internet work together. Understanding the basics—domain names, DNS, hosting, HTTPS and the browser—makes common website problems much easier to understand.
1. The domain is the readable address
A domain name, such as example.com, is a human-friendly way to reach a website. Computers communicate using network addresses, so the domain needs to be matched with the server that hosts the site.
2. DNS looks up the destination
DNS stands for Domain Name System. It works like a distributed directory: it helps the browser find the network address associated with a domain. If DNS records are missing, incorrect or still updating after a change, a visitor may see an error such as “server IP address could not be found”.
3. Hosting stores the website
A hosting service stores the website’s files and may run software such as PHP or a database. When a browser requests a page, the hosting server responds with the page or with data used to build it. A domain and hosting are different services, even though providers sometimes sell them together.
4. HTTPS protects the connection
HTTPS uses encryption to protect information travelling between the browser and website. A valid certificate helps the browser confirm that it is communicating with the domain named in the certificate. HTTPS is important, but it does not guarantee that every page or business on a site is trustworthy.
5. The browser builds the page
The server may send HTML, CSS, JavaScript, images and other files. HTML describes the page structure, CSS controls its appearance, and JavaScript can add interactive behaviour. The browser combines these resources to display the page. A missing stylesheet can make a site look unformatted even when its text still loads.
Why a website may not open
- DNS issue: the domain cannot be matched to the correct server.
- Hosting issue: the server is unavailable or the account has a problem.
- File or code issue: the requested page is missing or the application returns an error.
- Certificate issue: HTTPS configuration is expired or incorrect.
- Local issue: browser cache, network settings or an internet connection is causing trouble.
A simple troubleshooting order
First check whether other websites open. Then try the site in another browser or network. If you own the domain, check its DNS records, hosting status, SSL certificate and server error logs. Change one thing at a time and keep a note of the original settings so you can undo a mistake.
This article is general educational information. Features and menu names may vary by device, software version and service provider. Check official documentation for instructions that apply to your situation.