How can I host multiple websites off a single PC?

I've always used a virtual host for my websites because DSL or cable wasn't available. However, I'm moving to a new area that can. The sites I'm working on aren't going to be huge sites and I should have no problem with limited bandwidth. I would like to register multiple domains and I was wondering can I under one IP address? How would my computer know which file to use? I know this is a PHP forum but since most of you probably hosts sites off your own computers I figured someone ran into this.

Comments

  • : I've always used a virtual host for my websites because DSL or cable wasn't available. However, I'm moving to a new area that can. The sites I'm working on aren't going to be huge sites and I should have no problem with limited bandwidth. I would like to register multiple domains and I was wondering can I under one IP address? How would my computer know which file to use? I know this is a PHP forum but since most of you probably hosts sites off your own computers I figured someone ran into this.
    :
    I use Apache for hosting multiple sites using a name based virtual host instead of just a virtual host. Read all about it at the following link.
    Hope that helps
    http://httpd.apache.org/docs-2.0/vhosts/name-based.html

    Stormbanditz
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion