/etc/httpd/conf/httpd.conf 파일 내용 중
#
# ServerName: allows you to set a host name which is sent back to clients for
# your server if it's different than the one the program would get (i.e., use
# "www" instead of the host's real name).
#
# Note: You cannot just invent host names and hope they work. The name you
# define here must be a valid DNS name for your host. If you don't understand
# this, ask your network administrator.
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address (e.g., http://123.45.67.89/) # anyway, and this will make redirections work
in a sensible way. #
#ServerName localhost
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/var/www/html"
부분의 #ServerName localhost 를, 한텀 창에서 hostname 라고 쳐서 나온 결과인 LBS 를 사용해서, #S
erverName LBS 로 바꾸어도 고쳐지지 않습니다. 제가 잘못 고친 건가요?
제 생각에도 #ServerName localhost 는 바꾸지 않고 그대로 놔 두어도 되는 것 같습니다.