httpd加DNS搭建Web网站访问,添加虚拟目录访问
安装httpd
yum install httpd -y
配置httpd.conf,添加或修改一下配置
vim /etc/httpd/conf/httpd.conf
Listen 80
ServerName www.studylinux.con:8080
DocumentRoot "/var/www/html"
DirectoryIndex index.html index.html.va...
原创
2018-11-17 19:17:40 ·
620 阅读 ·
0 评论