Home  >  Q&A  >  body text

网站建设 - 一台linux服务器,单个IP,如何安装多个wordpress服务

一台linux服务器,单IP。
想搭建多个网站,网站后台用wordpress。
如何能搭建多个,并且实现多个域名绑定,独立后台访问

PHP中文网PHP中文网2745 days ago1308

reply all(12)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 12:11:24

    Use nginx as a reverse proxy: all domain names point to the IP of your server, and then configure the access rules in nginx. The rest is to throw in a few more wordpress under apache.

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 12:11:24

    Since it is a server. . .
    The number of IPs has nothing to do with the number of websites to be installed
    apache virtualhost

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 12:11:24

    Use lnmp
    You can bind multiple domain names to a single IP
    Each domain name can be placed in a different folder
    There is already an installation package http://lnmp.org/
    Easy to use

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 12:11:24

    apache virtualhost configuration or nginx vhosts

    The database can share a mysql and use different accounts and databases

    reply
    0
  • 黄舟

    黄舟2017-04-17 12:11:24

    wordpress What you are talking about is the concept of virtual host. If you can use the command, it is not recommended to install the panel. You can install lnmp or lnmp integration package for fun. I used Jun Ge’s lnmp.org one-click installation package. , very useful. If you want to use a panel, you can choose a free version such as kloxo or amh. Multiple sites can be built.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 12:11:24

    vhost creates a virtual host and then binds the domain name and resolves your domain name a record to your virtual host

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 12:11:24

    Wordpress provides two methods by default, subdirectory and subdomain name. Multiple accounts and multiple IPs have nothing to do with each other.

    reply
    0
  • 迷茫

    迷茫2017-04-17 12:11:24

    yum install nginx php-fpm php-cli

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 12:11:24

    One IP can be bound to multiple domain names.

    reply
    0
  • PHPz

    PHPz2017-04-17 12:11:24

    vhost, each WordPress is bound to a domain name

    reply
    0
  • Cancelreply