How to go through an external IP on wordpress which is installed in local network?

0 like 0 dislike
6 views
On the local PC LAMP+wordpress in the WordPress settings point to the internal ip(WordPress Address (URL) and Site Address (URL)) that is not accessible on I-no, if you put your external IP there is no access via LAN. Everything seems logical, but how do I work with wordpress on the intranet and on the Internet?
by | 6 views

3 Answers

0 like 0 dislike
https://ru.wikipedia.org/wiki/Loopback
Or in a local dns/hosts to register for a domain name local address
by
0 like 0 dislike
Google how to configure Hairpin NAT or NAT LoopBack
But not every router you can configure it.
And the most simple - as you advised above to register on all machines in the Hosts name and IP grey and walk in it, you can also raise DNS.
by
0 like 0 dislike
Config Apache to add the virtual host by analogy with what is available, putting for "wiretapping" is the local ip.

DocumentRoot /www/docs/host.example.com ServerName host.example.com 
by

Related questions

110,608 questions
257,186 answers
0 comments
28,665 users