• Hello, I basically installed my WordPress at a home server and in the Options->General the address shown is the local IP address of the server. If I change it to the external address due to my router firmware I am unable to reach it. How can I add the 2 address so that I can reach WordPress from inside my house and outside?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    On the machines inside your house, you’d edit the hosts file to add a line like

    192.168.0.10 mydomain.com www.mydomain.com

    https://support.rackspace.com/how-to/modify-your-hosts-file/

    And in settings->general, you’d make your site mydomain.com.

    Thread Starter augustolf

    (@augustolf)

    It didn’t worked… Any other idea?

    • This reply was modified 6 years, 11 months ago by augustolf.
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What do you mean by “it didn’t work”. What happens?

    Thread Starter augustolf

    (@augustolf)

    I’ve lost my inside access (inside my home) and now it is only available outside of my house network

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    If you go directly to the IP address, does it work from inside your home?

    Note: Putting a web server on your home network that is outside-facing is NOT a good idea. If your site gets hacked, the hackers are inside your firewall. Just sayin’.

    Thread Starter augustolf

    (@augustolf)

    When in the settings (Options->General) I put my domain I can only access my website from outside my home and when I change it to the local IP address I only can access it from inside my house. So what i want to do is basicly add both addresses so that I can access inside and outside my home.

    I have a home server and the only port openned is the HTTP for the server, is that a security problem?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What exactly did you put in the hosts file?

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Adding 2 WordPress adresses’ is closed to new replies.