Click to See Complete Forum and Search --> : apache and locallhost ??
web developer1
02-20-2003, 08:48 AM
hello
I install apache server like article in this site
how apache server run as locall host
I am only want to install apache server to learn php language
onle :( , my OS is Win XP ..
when I install , apache ask to put virtual network name
and domain name
what I put , I want only work locall , in my computer
plz , help me
sorry , about my bad English language :D
planetsim
02-20-2003, 05:34 PM
You actually need to use that. It doesnt mean what your thinking. Your computer will turn into a network because you can have millions of web page files.
mogster
02-21-2003, 09:11 AM
I'm using apache on xp, and have chosen just localhost as ServerName:
# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your
# machine always knows itself by this address. If you use Apache strictly for
# local testing and development, you may use 127.0.0.1 as the server name.
#
ServerName localhost
No virtualhosts or anything - just straight up! :D
knutm
web developer1
02-22-2003, 03:19 AM
thank you planetsim & mogster
I solve problem :) like you say mogster
but I have anoter question
How I can create virtual directory with apache server ??
thank you
Web Developer
mogster
02-22-2003, 07:46 AM
Hmmm..
You mean Virtualhosts, as in more than one domain from the ip?
### example for vhost / knutm ###
<VirtualHost 192.165.0.63>
ServerName www.mydomain.com
ServerAlias mydomain.com
ServerAdmin admin@mydomain.com
DocumentRoot /the/path_to_root
ErrorLog logs/mydomain.error
TransferLog logs/mydomain.access
</VirtualHost>
knutm ;)
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.