If you are running Windows 9x - there are a bunch of programs out there to do this for you. If you have W2K or XP Pro, you can use IIS. If you are using *nix there will be various ways to configure this. I know Mac OS will allow this as well, but I don't know the specifics.
Still need to know the OS you want to do this on if you need specifics.