Women in Technology

Hear us Roar



Article:
  Simplify Your Life with Apache Virtual Hosts
Subject:   Basic question?
Date:   2003-08-02 11:26:53
From:   anonymous2
I have a low hit server that I use for business as an electronic resume and client file transfer site. Reading about virtual hosts made me think about setting up a vhost solely to serve pictures for my eBay auctions. (I don't like how they format them.) Simple enough. I've got my vhosts up and running. What I'd like to do is make it so that, if someone gets tricky and sends the ip address instead of the domain name, they don't get my business site which has my name, address, and phone number. Since I don't want potential thieves to know where they can find the items I'm selling, how do I structure my httpd.conf and virtual hosts so that my business site doesn't show up when only the ip address is entered?


I'm a civilian who likes to tinker, not a grisled Apache veteran. So, patience is appreciated.


Evans

Full Threads Newest First

Showing messages 1 through 1 of 1.

  • Figured it out
    2003-08-02 12:23:50  anonymous2 [View]

    I moved my photo virtual host up to the top of the list of vhosts. Now, when I directly access my site by ip, I get the blank page I wanted.

    Evans

    PS It's funny how asking for help is a key component for discovering the solution myself.