网站建设 - 一台linux服务器,单个IP,如何安装多个wordpress服务
PHP中文网
PHP中文网 2017-04-17 12:09:24
0
12
1295

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

PHP中文网
PHP中文网

认证0级讲师

reply all(12)
Ty80

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.

小葫芦

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

大家讲道理

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

大家讲道理

apache virtualhost configuration or nginx vhosts

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

黄舟

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.

伊谢尔伦

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

伊谢尔伦

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

迷茫

yum install nginx php-fpm php-cli

洪涛

One IP can be bound to multiple domain names.

PHPzhong

vhost, each WordPress is bound to a domain name

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!