Yes. The easiest is probably via bridged networking. Check the manual, if you are playing with webhosting you should be able to take it from there with the manual and the search tool.
If you know what you are doing, take a look at ipfw and natd configs if using shared networking is vital to you. There are also some GUI tools out there to configure the above, I know there has been reference to them on this forum, I just use command line for natd and ipfw myelf...