Re一台ECS服务器已搭WORDPRESS,能再同时搭个BBS吗?
楼上大神,能否劳烦解释解释我应该怎么做。。。?
-------------------------
Re一台ECS服务器已搭WORDPRESS,能再同时搭个BBS吗?
自己顶。。。
-------------------------
Re一台ECS服务器已搭WORDPRESS,能再同时搭个BBS吗?
现在装已经装好了,但是我二级域名指向做不来..我应该怎么解析DNS?
-------------------------
Re一台ECS服务器已搭WORDPRESS,能再同时搭个BBS吗?
那同样都是解析到主机外网IP吗? 我是不是自己做个重定向?.htaccess?
-------------------------
Re一台ECS服务器已搭WORDPRESS,能再同时搭个BBS吗?
2.对httpd-vhosts.conf进行配置。
例如域名www.a.com和www.b.com
# Virtual Hosts
#
# Required modules: mod_log_config
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.4/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:80>
ServerAdmin
webmaster@a.com
DocumentRoot "d:/www/a"
ServerName a.com
ServerAlias www.a.com
ErrorLog "logs/a.com.log"
CustomLog "logs/a.com.log" common
<Directory "d:/www/a">
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin
webmaster@b.com
DocumentRoot "d:/www/b"
ServerName b.com
ServerAlias www.b.com
ErrorLog "logs/b.com.log"
CustomLog "logs/b.com.log" common
<Directory "d:/www/b">
Require all granted
</Directory>
</VirtualHost>
上面这些我已经做完了,不过还是不行。 我的主域名能正常访问,但是二级域名不能访问,是空白的。 这是不是说明我根本没做对?另外,填的绝对路径应该是我服务器的外网IP/alidata/www/然后后面我安装的目录?
-------------------------
Re一台ECS服务器已搭WORDPRESS,能再同时搭个BBS吗?
是的。。刚接触。
-------------------------
Re一台ECS服务器已搭WORDPRESS,能再同时搭个BBS吗?
回楼上高手
这个是我贴的源码
我自己VHOST里改了的,
A是WWW.XXXX.COM的
B是BBS.XXXX.COM
然后访问路径设的是IP/ALIDATA/WWW/和另外一个在WWW下的路径
-------------------------
Re一台ECS服务器已搭WORDPRESS,能再同时搭个BBS吗?
服务器应该行,但是我现在不会绑定一个二级域名。。囧