美文网首页
新建二级域名

新建二级域名

作者: 14px | 来源:发表于2018-08-21 14:50 被阅读0次
  1. 在域名管理里添加一条 A 记录。
  2. 在 nginx/vhost 目录里,加一个配置文件,比如kedao.wadecn.com.conf,内容如下
server {
    listen       12305;
    server_name  kedao.wadecn.com;
    index        index.html index.htm index.php;
    root         /home/kodexplorer
}
  1. 访问
    http://kedao.wadecn.com

相关文章

网友评论

      本文标题:新建二级域名

      本文链接:https://www.haomeiwen.com/subject/rlqjiftx.html