What domain logs show you and where to find them
A domain log is a record of activity tied to your domain name — who visited your website, when they visited, what they looked at, and sometimes where they came from. These logs live on your web hosting server, not with your domain registrar. Your registrar (the company where you bought the domain) keeps records of ownership changes and renewal dates, but your hosting provider keeps the visitor logs.
The most common type is called an access log or HTTP log. It records every request made to your website: page views, file downloads, image loads, and failed requests. A second type, the error log, records things that went wrong — a broken link someone clicked, a missing file, a script that crashed. Both are usually stored in a folder on your server that your hosting control panel lets you reach.
Where you find these logs depends on your hosting provider. If you use cPanel (the most common control panel for shared hosting), logs are usually under "Metrics" or "Logs". If you use Plesk, look under "Logs". If you use a cloud host like AWS or Google Cloud, logs are in a separate service you have to navigate to. Your hosting provider's help documentation will tell you the exact path for your setup.
Key Takeaways
- Access logs record every visitor to your website, including their IP address, the page they requested, and the time of the request.
- Error logs show broken links, missing files, and server problems — useful for finding what is broken on your site.
- Most hosting providers let you read raw log files through your control panel, usually in a folder labeled "Logs" or "Metrics".
- Raw logs are hard to read because they are plain text with no formatting — you will need a log analyzer tool or spreadsheet to make sense of them.
- Domain registrar logs (ownership history) are separate from hosting logs (visitor activity) and are found in your registrar account, not your hosting account.
How to read logs from your hosting control panel
Log into your hosting account and find the control panel — this is usually a link in your hosting provider's dashboard. In cPanel, click "Metrics" in the left sidebar, then click "Raw Access Data" or "Raw Error Data" depending on which log you want. You will see a list of log files, usually organized by date. The most recent log is usually at the top.
Click the log file you want to read. Most hosting providers give you the option to read it as a compressed file (a .gz or .zip file) to save space. Save it to your computer. If it is compressed, you will need to unzip it first — Windows 10 and later can do this by right-clicking the file and selecting "Extract All". On Mac, double-click the file and it will unzip automatically.
Once unzipped, open the log file in a text editor like Notepad (Windows) or TextEdit (Mac). The file will be long and hard to read at first — each line is one request, and there may be thousands or millions of lines if your site gets traffic. This is normal. The raw format is how servers store logs because it saves space and processing power.
Understanding what each line in a log file means
A typical access log line looks like this:
192.168.1.1 - - [15/Nov/2024:10:45:32 +0000] "GET /index.html HTTP/1.1" 200 5432 "-" "Mozilla/5.0"
Breaking this down: 192.168.1.1 is the visitor's IP address (their computer's identifier on the internet). The dashes are placeholders for information that is usually empty. [15/Nov/2024:10:45:32 +0000] is the date and time the request happened. GET /index.html HTTP/1.1 is what the visitor asked for — in this case, the file named index.html using the GET method. 200 is the response code, which tells you whether the request succeeded (200 means success; 404 means file not found; 500 means server error). 5432 is the size of the response in bytes. Mozilla/5.0 is the browser the visitor used.
Error logs follow a similar pattern but include the type of error. A line might say "File not found" or "Permission denied" along with the file path that caused the problem. Error logs are shorter and easier to scan because errors are less common than successful requests.
Using a log analyzer tool to make sense of large files
If your site gets more than a few hundred visitors a day, reading the raw log file by hand is not practical. A log analyzer is a tool that reads the raw log file and creates a summary — how many visitors you had, which pages were most popular, where visitors came from, what errors happened most often. Many are free.
Webalizer is a common free tool that many hosting providers include in your control panel. If your host offers it, you can usually run it directly from the control panel without downloading anything — it will show you a visual report right there. AWStats is another free option that works similarly. Both create charts and tables instead of raw text.
If you want to analyze the log yourself, you can open it in a spreadsheet program like Excel or Google Sheets. Copy the log file contents into a new spreadsheet, then use the "Text to Columns" feature to split each line into separate columns by spaces. This lets you sort and filter — for example, you can filter to show only requests that returned a 404 error, or only requests from a specific IP address. This takes a few minutes to set up but gives you full control over what you are looking at.
Finding domain ownership changes in your registrar account
If you need to see when your domain was registered, renewed, or transferred to a different registrar, that information is in your registrar account, not your hosting logs. Log into your registrar (GoDaddy, Namecheap, Google Domains, or whoever you registered with) and look for "Domain Settings" or "Account History". Most registrars show you the registration date, expiration date, and any transfers or ownership changes.
Some registrars also let you view WHOIS history — a record of who was listed as the domain owner at different points in time. This is useful if you inherited a domain from someone else and want to see when ownership changed hands. The WHOIS record is public information (unless you paid for privacy protection), so you can also check it on a free WHOIS lookup site like ICANN Lookup or Whois.com without logging into your registrar account.
Do not confuse registrar logs with hosting logs. Your registrar knows when you renewed your domain or changed the nameservers. Your hosting provider knows who visited your website. They are two separate systems with two separate logs.
What to do if you cannot find or access your logs
If you log into your hosting control panel and cannot find the Logs section, check your hosting provider's help documentation — the exact location varies by provider. Search for "[Your Host Name] access logs" or "[Your Host Name] raw logs" and you will usually find a step-by-step guide.
If you do not have a control panel at all (some very basic hosting plans do not include one), contact your hosting provider's support team and ask them to send you the logs directly. They can usually email them to you or upload them to a find folder you can read from. This may take a day or two, but it is a normal request.
If your site is very new (less than a few days old), there may not be much in the logs yet — that is normal. Logs start recording as soon as your site goes live, but if nobody has visited yet, there will be very little to see.
Frequently Asked Questions
How far back do hosting logs go?
Most hosting providers keep logs for 30 to 90 days, though this varies. Some keep them longer if you pay for extra storage. Once logs are deleted, they are gone — if you need to keep records for longer, read them regularly and store them on your computer. Check your hosting provider's documentation for their specific retention policy.
Can I see which specific person visited my website?
No. You can see their IP address and what they looked at, but an IP address does not tell you a person's name or identity. Many people share the same IP address (everyone on a home WiFi network, everyone in an office building). If you want to know who is visiting, you would need to ask them to log in or fill out a form.
What does a 404 error in my log mean?
A 404 means someone tried to visit a page on your website that does not exist. This could be a broken link on your site, a link from another website that is outdated, or someone typing a wrong URL. If you see the same 404 error many times, it is worth fixing — either restore the missing page or create a redirect so the old link still works.
Is there a difference between logs and analytics?
Yes. Logs are raw records of every request your server received. Analytics (like Google Analytics) are processed summaries that show you trends — how many visitors, which pages they liked, how long they stayed. Analytics are easier to read but show less detail. Logs show everything but are harder to make sense of. Most people use analytics for the big picture and logs when they need to investigate a specific problem.
Do I need to delete old logs to save space?
Most hosting providers delete them automatically after 30 to 90 days, so you usually do not have to. If your host does not delete them automatically and you are running low on storage space, you can delete old logs yourself through the control panel. Just make sure you have downloaded and saved any logs you want to keep first.