How to make I wordpress MU in a LAN be available on Internet


#1

i have installed a wordpress MU and it works in LAN.
its’ ip is 10.184.31.11
then I changed home,siteurl’s value in wp_options to http://www.85xt.cn/blog,also changed the current-domain to www.85xt.cn/blog in wp-config.php
and it works,the site can be accessed on Internet.
but when I click the manage network ,it out of work.
I have no idea now.please help me…thanks.


#2

Looks like you are trying to create wordpress MU with subdomains.

In that case for wildcard records to work you need to install a nameserver e.g. bind9 on localhost/LAN gateway.

You may also need to update nameserver. Modifying /etc/hosts will not work for wildcard domains.


#3

in fact,It works under a subdirectory mode。
everything goes well ,for example,http://www.85xt.cn/blog/wp-admin can be openend correctly.
but I can’t open the url http://www.85xt.cn/blog/wp-admin/network.
get an error “too many redirect”. from chrome…
i’ve changed wp_options and wp-config.php and set domain from 10.184.31.11 to www.85xt.cn/blog


#4

There might be some misconfiguration. As its a test environment, if you are using Ubuntu, try easyeninge. That will make life much easier - http://rtcamp.com/easyengine


#5

ee is a great tool!,
my command is sudo ee site create wpsubdir w3tc 10.184.31.11
it works.
now I want to change the language to zh_CN. I changed the wp-config.php in htdocs and copy the languages dir under to wp-content.
an refresh the wepage ,and restart the nginx ,reboot the machine ,still it is english .
what’s wrong with it?
error1
error2


#6

i’ve changed to chinese in dashboard!


#7

@lg2578 Glad to know it worked! :slight_smile:


#8