Click to See Complete Forum and Search --> : Apache file/directory setup


tompoe
10-20-2001, 07:27 PM
Hi: Just a sanity check here. I have Apache running. As I understand it, when I type in: http://localhost/
the port 80 is listening, and sends the message on to the documentRoot: /usr/local/httpd/htdocs

Now, if I want more than one site, what is the command in the browser?
ex: http://localhost/?????

How do I set the files/directories to have multiple sites? Thanks, Tom

X_console
10-20-2001, 07:34 PM
Multiple sites? What do you mean by that? When you say site I start to think domain names. You have to buy those. If you're talking about pages or user pages like http://localhost/~john or http://localhost/~mary, then you'd need to create those user accounts, create a public_html directory in their home directory and put HTML files in there.