CORRECT TEXT

Posted by: Pdfprep Category: EX200 Tags: , ,

CORRECT TEXT

Configure a HTTP server, which can be accessed through http://station.domain40.example.com.

Please download the released page from http://ip/dir/example.html.

Answer: see explanation below.

Explanation

# yum install -y httpd

# chkconfig httpd on

# cd /var/www/html

# wget http://ip/dir/example.html

# cp example.com index.html

# vim /etc/httpd/conf/httpd.conf

NameVirtualHost 192.168.0.254:80

<VirtualHost 192.168.0.254:80>

DocumentRoot /var/www/html/

ServerName station.domain40.example.com

</VirtualHost>

Leave a Reply

Your email address will not be published.