服务器,linux学习笔记

来源:互联网 发布:哪里可以购买淘宝店铺 编辑:程序博客网 时间:2024/05/17 08:27

1:绑定域名到IP

添加A记录到对应IP地址,apache配置文件httpd.conf 添加内容

NameVirtualHost 123.53.214.109 //对应IP
<VirtualHost 123.53.214.109> 
DocumentRoot "D:\phpStudy\WWW" 
ServerName ip.greenzyw.com 
DirectoryIndex index.php index.html default.php index.html.var 
</VirtualHost> 

0 0
原创粉丝点击