Ok, I'll look into Virtual Private Networks
....but I guess I was also wondering about the basic details of like, if someone has a commercial website up, how can they tell who's looking at it?
Because websites use the HTTP protocol which sits on top of the TCP protocol. When you hit enter after you enter a URL into your browser this is what happens:
1) your computer makes a DNS request to the DNS server configured on your router to turn the name of the website (e.g.
www.gayheaven.org) into an IP address.
2) The DNS server responds with the answer (109.201.152.100 in our example)
3) Your browser opens a TCP connection to port 80 at that IP address - this triggers the so-called TCP3-way-handshake which establishes the connection. When you establish that connection both sides know each other's IP address, without that, the connection cannot be established.
4) Your browser sends a HTTP request through the TCP connection to the web server asking for a given URL.
5) The server responds with the requested web page through the TCP connection
6) The server closes the TCP connection
This means three things:
1) who ever runs your DNS server knows what domain you went to
2) the web server knows the IP address you connected from
3) the web server knows the URL you requested, and has logged the IP, the time, and the URL in it's log file
OK - so how can a VPN/TOR/Proxy work? All three of these things work by splitting the TCP connection in half, and effectively turning it into two connections, one from you to the VPN/TOR/Proxy, and from the VPN/TOR/Proxy to the server. The server then logs the IP of the VPN/TOR/Proxy, not yours.
Like how, if it's not the ISP how would they even go about that? Is that something anyone with a website automatically looks at? Is it something you'd have to get extra experts around for? Or do they ask the hosting ISP to monitor something for them?
The information is in the web server's log files - it takes no special skill to read, and there are lots of so-called "log analyser" programs that will take a web server log and generate reports and statistics on it.
OR is it more than likely someone could have a site up and not even be monitoring who's going on it? (not a naughty-porn site but something with cute guys on it that they're probably aware would attract that type of interest anyway).
Whether or not a website owner chooses to look at the info is up to them, but they all have it at their finger tips.
Personally, I run a lot of web sites (I'm a Linux sysadmin by profession), and I only look at the logs when I have a reason to - perhaps the site is slow and I want to look for strange activity, perhaps the police have knocked on my door and asked for info, or perhaps one of my automated tools has alerted me to the fact that there is an unusual traffic pattern on the site.
If a website is monetised with ads the owners will be watching the statistics from the logs very carefully, to see how many views per day they get and so on, but they are unlikely to care what individual person is doing what.
I hope that helps,
Bart.
P.S.
One of the advantages of a VPN is that DNS queries go through the VPN too, so your ISP can't know where you have been based on DNS queries - that is not true with proxy servers, there only the connection to the server is proxied, the DNS query goes over the ISP's network unencrypted.