How to Edit Your Hosts File on Windows, Mac, or Linux

On occasion you will need to edit the hosts file on your machine. Sometimes because of an attack or prank, and others so that you can simply and freely control access to websites and network traffic.

hosts files have been in use since ARPANET. They were used to resolve hosts names before DNS. hosts files would be massive documents used to aide the network name resolution. Microsoft kept the hosts file alive in Windows networking which is why it varies very little whether used in Windows, macOS, or Linux. The syntax stays mostly the same across all platforms. Most hosts files will have several entries for loopback. We can use that for the basic example for the typical syntax.

The first part will be the location to redirect the address to, the second part will be the address that you will want to redirect, and the third part is the comment. They can be separated by a space, but for ease of reading are typically separated by one or two tabs.

127.0.0.1 localhosts #loopback

Now let’s look at accessing the hosts files in the different operating systems…

[mai mult...]

How to do a Clean Install of Windows 10 the Easy Way

The Windows 10 upgrade process drags old files, settings, and programs from your previous Windows system to your new one. Microsoft allows you to get an entirely fresh system by performing a clean install.

This is particularly useful if you’ve purchased a new Windows 10 PC and it includes manufacturer-installed bloatware you don’t want. Or, you may need to perform a clean install on a computer without an existing Windows system after installing a new hard drive. Of course, you’ll miss out on the good pre-installed apps, like the free DVD player program that comes with many PCs. However, you can always install VLC to get DVD playback or use one of the more fully featured Windows Media Center alternatives.

[mai mult...]

How to Enable Private Browsing on Any Web Browser

Private browsing has been around in one form or another since 2005, but it took some time for every browser to get behind it. Now, no matter what browser you use, you can surf the internet without leaving behind a local trail of history, passwords, cookies, and other assorted bits of information.

Private browsing is useful for covering your tracks (or rather, preventing any tracks from being made in the first place), among other things. It isn’t infallible, however, and while it will prevent information from being stored on your computer, it won’t prevent your employer, Internet service provider, websites you visit, or the NSA for that matter, from collecting any information you transmit beyond your computer.

Every browser has their own name for private browsing, and while accessing it is accomplished in practically the same way, there can be subtle differences from product to product.

[mai mult...]

How to Forward Ports to a Virtual Machine and Use It as a Server

VirtualBox and VMware both create virtual machines with the NAT network type by default. If you want to run server software inside a virtual machine, you’ll need to change its network type or forward ports through the virtual NAT.

Virtual machines don’t normally need to be reachable from outside the virtual machine, so the default is fine for most people. It actually provides some security, as it isolates the virtual machine from incoming connections.

[mai mult...]