All pastes #366670 Raw Edit

Anonymous

public text v1 · immutable
#366670 ·published 2007-02-21 20:44 UTC
rendered paste body
brain:/etc/apache2/vhosts.d # cat /etc/hosts
#
# hosts         This file describes a number of hostname-to-address
#               mappings for the TCP/IP subsystem.  It is mostly
#               used at boot time, when no name servers are running.
#               On small systems, this file can be used instead of a
#               "named" name server.
# Syntax:
#
# IP-Address  Full-Qualified-Hostname  Short-Hostname
#

127.0.0.1       localhost

# special IPv6 addresses
::1             localhost ipv6-localhost ipv6-loopback

fe00::0         ipv6-localnet

ff00::0         ipv6-mcastprefix
ff02::1         ipv6-allnodes
ff02::2         ipv6-allrouters
ff02::3         ipv6-allhosts
127.0.0.2       brain.site brain

127.0.0.1       wordpress.localhost
127.0.0.1       trac.localhost
brain:/etc/apache2/vhosts.d # cat 1.conf
<VirtualHost *:80>
    ServerAdmin wordpress@localhost
    ServerName wordpress.localhost
    ServerAlias wordpress.localhost
    DocumentRoot /srv/www/vhosts/wordpress
    Options None Indexes
</VirtualHost>

#<VirtualHost *:80>
#    ServerAdmin trac@localhost
#    ServerName trac.localhost
#    ServerAlias trac.localhost
#    DocumentRoot /srv/www/vhosts/trac
#    Options None Indexes
#</VirtualHost>
        brain:/etc/apache2/vhosts.d #